Click or drag to resize

PropertyKeyT Class

Strongly typed version of a property key.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.PropertiesPropertyKeyBase
    Altaxo.Main.PropertiesPropertyKeyT

Namespace: Altaxo.Main.Properties
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class PropertyKey<T> : PropertyKeyBase

Type Parameters

T
Type of the property value that this key can be used for.

The PropertyKeyT type exposes the following members.

Constructors
 NameDescription
Public methodPropertyKeyT(String, String, PropertyLevel) Initializes a new instance of the PropertyKeyT class.
Public methodPropertyKeyT(String, String, PropertyLevel, FuncT) Initializes a new instance of the PropertyKeyT class.
Public methodPropertyKeyT(String, String, PropertyLevel, Type) Initializes a new instance of the PropertyKeyT class.
Public methodPropertyKeyT(String, String, PropertyLevel, Type, FuncT) Initializes a new instance of the PropertyKeyT class.
Top
Properties
 NameDescription
Public propertyApplicationAction 
Public propertyApplicationItemType Gets the type of the application item. This value is used only if ApplicationLevel contains the flag Document.
(Inherited from PropertyKeyBase)
Public propertyApplicationLevel Gets the application level this property is intended for. See PropertyLevel for details.
(Inherited from PropertyKeyBase)
Public propertyCanCreateEditingController Gets a value indicating whether this key contains a function that returns a Gui controller to edit the property value.
(Overrides PropertyKeyBaseCanCreateEditingController)
Public propertyEditingControllerCreation Sets a function, that provides a Gui controller for the property value.
Public propertyGuidString Gets the unique identifier string that identifies the property key. This value is used in the dictionaries as a key to store the property values.
(Inherited from PropertyKeyBase)
Public propertyPropertyName Gets the name of the property. The name can contain backslashes, which are used in the Gui system to group the items by category.
(Inherited from PropertyKeyBase)
Public propertyPropertyType Gets the type of the property value that can be accessed with this key.
(Inherited from PropertyKeyBase)
Top
Methods
 NameDescription
Protected methodApplyProperty(Object) Applies the value given in the argument by calling a procedure stored in this property key.
(Overrides PropertyKeyBaseApplyProperty(Object))
Public methodApplyProperty(T) Applies the value given in the argument by calling a procedure stored in this property key.
Public methodCreateEditingController(Object) Function to get a Gui controller in order to edit a property value.
(Overrides PropertyKeyBaseCreateEditingController(Object))
Public methodCreateEditingController(T) Function to get a Gui controller in order to edit a property value.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_applicationOfProperty Procedure to apply the property value.
Protected field_editingControllerCreation If not null, this function is called if the property needs to be edited. The argument is the original property value, the return al
Top
See Also