Class GridPropertyTypeDefaultStyle
An entry for the GridPropertyTypeDefaultStyleCollection
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridPropertyTypeDefaultStyle : DescriptorBase, ICustomTypeDescriptor, IDisposable, IStandardValuesProvider, ICloneable
Constructors
GridPropertyTypeDefaultStyle()
Initializes a new object.
Declaration
public GridPropertyTypeDefaultStyle()
GridPropertyTypeDefaultStyle(String)
Initializes a new object.
Declaration
public GridPropertyTypeDefaultStyle(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The Name for GridPropertyTypeDefaultStyle. |
Properties
AllowDropDown
Specifies if cells of this type should show UITypeEditor, StandardValues if available.
Declaration
public bool AllowDropDown { get; set; }
Property Value
Type |
---|
System.Boolean |
Collection
Gets the parent collection
Declaration
public GridPropertyTypeDefaultStyleCollection Collection { get; }
Property Value
Type |
---|
GridPropertyTypeDefaultStyleCollection |
InSetName
Internal only.
Declaration
public bool InSetName { get; }
Property Value
Type |
---|
System.Boolean |
Name
Gets or sets the Name (e.g. System.Boolean)
Declaration
public virtual string Name { get; set; }
Property Value
Type |
---|
System.String |
Style
Gets the default style setting.
Declaration
public GridTableCellStyleInfo Style { get; }
Property Value
Type |
---|
GridTableCellStyleInfo |
Methods
Clone()
Copies this object.
Declaration
public GridPropertyTypeDefaultStyle Clone()
Returns
Type | Description |
---|---|
GridPropertyTypeDefaultStyle | Copied object. |
Dispose(Boolean)
Disposes the events.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Equals(Object)
Compares two objects
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if both objects are equivalent. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |
Overrides
GetName()
Returns the name.
Declaration
public override string GetName()
Returns
Type | Description |
---|---|
System.String | Returns the Name. |
Overrides
InitializeFrom(GridPropertyTypeDefaultStyle)
Initializes this object with contents from another source.
Declaration
public void InitializeFrom(GridPropertyTypeDefaultStyle other)
Parameters
Type | Name | Description |
---|---|---|
GridPropertyTypeDefaultStyle | other | The source object. |
OnPropertyChanged(DescriptorPropertyChangedEventArgs)
Raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(DescriptorPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DescriptorPropertyChangedEventArgs | e | A DescriptorPropertyChangedEventArgs that contains the event data. |
OnPropertyChanging(DescriptorPropertyChangedEventArgs)
Raises the PropertyChanging event.
Declaration
protected virtual void OnPropertyChanging(DescriptorPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DescriptorPropertyChangedEventArgs | e | A System.ComponentModel.PropertyChangedEventArgs that contains the event data. |
Events
PropertyChanged
Internal only.
Declaration
public event DescriptorPropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
DescriptorPropertyChangedEventHandler |
PropertyChanging
Internal only.
Declaration
public event DescriptorPropertyChangedEventHandler PropertyChanging
Event Type
Type |
---|
DescriptorPropertyChangedEventHandler |
Explicit Interface Implementations
IStandardValuesProvider.GetStandardValues(PropertyDescriptor)
Declaration
ICollection IStandardValuesProvider.GetStandardValues(PropertyDescriptor pd)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.PropertyDescriptor | pd |
Returns
Type |
---|
System.Collections.ICollection |
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
Type |
---|
System.Object |