Class GridDateTimeEditStyleInfo
Provides a StyleInfoSubObjectBase object for updowncellstyles settings in a cell. Each numericcell style property of the cell can be configured individually.
numericcell style properties thathave not been initialized will inherit default values from a base style.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class GridDateTimeEditStyleInfo : StyleInfoSubObjectBase, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject, IDisposable
Constructors
GridDateTimeEditStyleInfo()
Initialize the
Declaration
public GridDateTimeEditStyleInfo()
GridDateTimeEditStyleInfo(StyleInfoSubObjectIdentity)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridDateTimeEditStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridDateTimeEditStyleInfo(StyleInfoSubObjectIdentity, GridDateTimeEditStyleInfoStore)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridDateTimeEditStyleInfo(StyleInfoSubObjectIdentity identity, GridDateTimeEditStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridDateTimeEditStyleInfoStore | store |
Properties
AllowScrollingOnCircle
Gets or sets the AllowScrollingOnCircle property.
Declaration
public bool AllowScrollingOnCircle { get; set; }
Property Value
Type |
---|
System.Boolean |
CanEdit
Gets or sets the CanEdit property.
Declaration
public bool CanEdit { get; set; }
Property Value
Type |
---|
System.Boolean |
CustomPattern
Gets or sets the CustomPattern property.
Declaration
public string CustomPattern { get; set; }
Property Value
Type |
---|
System.String |
DateTimeFormatInfo
Gets or sets the DateTimeFormatInfo property.
Declaration
public DateTimeFormatInfo DateTimeFormatInfo { get; set; }
Property Value
Type |
---|
System.Globalization.DateTimeFormatInfo |
Default
Declaration
public GridDateTimeEditStyleInfo Default { get; }
Property Value
Type |
---|
GridDateTimeEditStyleInfo |
DisableDateSelection
Gets or sets the DisableDateSelection property.
Declaration
public bool DisableDateSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableBackspaceKey
Gets or sets the EnableBackspaceKey property.
Declaration
public bool EnableBackspaceKey { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableClassicStyle
Gets or sets the EnableClassicStyle property.
Declaration
public bool EnableClassicStyle { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableDeleteKey
Gets or Sets the EnableDeleteKey Property.
Declaration
public bool EnableDeleteKey { get; set; }
Property Value
Type |
---|
System.Boolean |
MaxDate
Gets or sets the Maximum date.
Declaration
public DateTime MaxDate { get; set; }
Property Value
Type |
---|
System.DateTime |
MinDate
gets or sets the minimum date.
Declaration
public DateTime MinDate { get; set; }
Property Value
Type |
---|
System.DateTime |
Pattern
Gets or sets the pattern property of datetime edit.
Declaration
public DateTimePattern Pattern { get; set; }
Property Value
Type |
---|
DateTimePattern |
ShowRepeatButton
Gets or sets the ShowRepeatButtonProperty.
Declaration
public bool ShowRepeatButton { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose(Boolean)
Releases the all resources used by the Component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Dispose the instance, if it is True |
Overrides
GetDefaultStyle()
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type |
---|
StyleInfoBase |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | |
StyleInfoProperty | sip |
Returns
Type |
---|
IStyleInfoSubObject |