Click or drag to resize

PropertyStoreCreateT Method (Object)

Gets a value from the property store with the specified key of a concrete type, and creates a new instance if it doesn't exist yet.

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public T Create<T>(
	Object key
)
where T : new()

Parameters

key
Type: SystemObject
Key of the property to get

Type Parameters

T
Type type of property to get.

Return Value

Type: T
Value of the property with the given key, or a new instance if not already added
See Also