Class PropertyDefinition<T>
Represents property definition.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.PropertySystem
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class PropertyDefinition<T> : IPropertyDefinition<T>, IPropertyDefinition
  Type Parameters
| 
        T
         The type of the T.  | 
    
Constructors
PropertyDefinition(String, Boolean, StylePropertyGroup, T, Boolean)
Initializes a new instance of the PropertyDefinition<T> class.
Declaration
public PropertyDefinition(string name, bool affectsLayout, StylePropertyGroup stylePropertyGroup, T defaultValue = null, bool useSameValueAsPreviousOnInsert = true)
  Parameters
| 
        System.String
        name
         The name of the property.  | 
    
| 
        System.Boolean
        affectsLayout
         The affects layout.  | 
    
| 
        StylePropertyGroup
        stylePropertyGroup
         The style property group.  | 
    
| 
        T
        defaultValue
         The default value.  | 
    
| 
        System.Boolean
        useSameValueAsPreviousOnInsert
         The use same value as previous on insert.  | 
    
Properties
AffectsLayout
Gets a value indicating whether the property affects layout.
Declaration
public bool AffectsLayout { get; }
  Property Value
| 
        System.Boolean
         The value indicating whether the property affects layout.  | 
    
Implements
DefaultValue
Gets the default value.
Declaration
public T DefaultValue { get; }
  Property Value
| 
        T
         The default value.  | 
    
Implements
Name
Gets the name of the property.
Declaration
public string Name { get; }
  Property Value
| 
        System.String
         The name of the property.  | 
    
Implements
StylePropertyGroup
Gets the style property group.
Declaration
public StylePropertyGroup StylePropertyGroup { get; }
  Property Value
| 
        StylePropertyGroup
         The style property group.  | 
    
Implements
UseSameValueAsPreviousOnInsert
Gets a value indicating whether to use same value as previous on insert.
Declaration
public bool UseSameValueAsPreviousOnInsert { get; }
  Property Value
| 
        System.Boolean
         The value indicating whether to use same value as previous on insert.  |