Class GridTimeSpanEditStyleInfo
Provides a StyleInfoSubObjectBase object for TimeSpanEdit control properties in a cell.
Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridTimeSpanEditStyleInfo : StyleInfoSubObjectBase, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GridTimeSpanEditStyleInfo()
Initializes a new empty GridTimeSpanEditStyleInfo object.
Declaration
public GridTimeSpanEditStyleInfo()
GridTimeSpanEditStyleInfo(StyleInfoSubObjectIdentity)
Initalizes a new GridTimeSpanEditStyleInfo object and associates it with an existing
Declaration
public GridTimeSpanEditStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | A |
GridTimeSpanEditStyleInfo(StyleInfoSubObjectIdentity, GridTimeSpanEditStyleInfoStore)
Initalizes a new GridTimeSpanEditStyleInfo object and associates it with an existing
Declaration
public GridTimeSpanEditStyleInfo(StyleInfoSubObjectIdentity identity, GridTimeSpanEditStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | A |
| GridTimeSpanEditStyleInfoStore | store | A GridTimeSpanEditStyleInfoStore that holds data for this GridTimeSpanEditStyleInfo. All changes in this style object will be saved in the GridTimeSpanEditStyleInfoStore object. |
Properties
AllowNull
Declaration
public bool AllowNull { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Default
Returns a default GridTimeSpanEditStyleInfo to be used with a default style.
Declaration
public static GridTimeSpanEditStyleInfo Default { get; }
Property Value
| Type | Description |
|---|---|
| GridTimeSpanEditStyleInfo | The default. |
Remarks
The Default of the GridStyleInfo class will return the validation info that this method generates through its overriden version of GetDefaultStyle().
Format
Gets or sets the Format for the control.
Declaration
public string Format { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | Type: System.String Default value is string.Empty. |
See Also
HasAllowNull
Determines whether AllowNull is initialized for current object.
Declaration
public bool HasAllowNull { get; }
Property Value
| Type |
|---|
| System.Boolean |
HasFormat
Determines whether Format is initialized for current object.
Declaration
public bool HasFormat { get; }
Property Value
| Type |
|---|
| System.Boolean |
HasIncrementOnScrolling
Determines whether IncrementOnScrolling is initialized for current object.
Declaration
public bool HasIncrementOnScrolling { get; }
Property Value
| Type |
|---|
| System.Boolean |
HasMaxValue
Determines whether MaxValue is initialized for current object.
Declaration
public bool HasMaxValue { get; }
Property Value
| Type |
|---|
| System.Boolean |
HasMinValue
Determines whether MinValue is initialized for current object.
Declaration
public bool HasMinValue { get; }
Property Value
| Type |
|---|
| System.Boolean |
HasNullString
Determines whether NullString is initialized for current object.
Declaration
public bool HasNullString { get; }
Property Value
| Type |
|---|
| System.Boolean |
HasShowArrowButtons
Determines whether ShowArrowButtons is initialized for current object.
Declaration
public bool HasShowArrowButtons { get; }
Property Value
| Type |
|---|
| System.Boolean |
IncrementOnScrolling
Gets or sets the IncrementOnScrolling for the control.
Declaration
public bool IncrementOnScrolling { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | Type: System.Boolean Default value is false. |
See Also
MaxValue
Gets or sets the maximum value for the control.
Declaration
public TimeSpan MaxValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.TimeSpan | Type: System.Double Default value is double.MaxValue. |
See Also
MinValue
Gets or sets the minimum value for the control.
Declaration
public TimeSpan MinValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.TimeSpan | Type: System.Double Default value is double.MinValue. |
See Also
NullString
Gets or sets the Format for the control.
Declaration
public string NullString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | Type: System.String Default value is string.Empty. |
See Also
ShowArrowButtons
Gets or sets the IncrementOnScrolling for the control.
Declaration
public bool ShowArrowButtons { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | Type: System.Boolean Default value is false. |
See Also
Methods
GetDefaultStyle()
Returns Default.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type | Description |
|---|---|
| StyleInfoBase | A GridTimeSpanEditStyleInfo object with default values. |
Overrides
ResetAllowNull()
Resets AllowNull.
Declaration
public void ResetAllowNull()
ResetFormat()
Resets Format.
Declaration
public void ResetFormat()
ResetIncrementOnScrolling()
Resets IncrementOnScrolling.
Declaration
public void ResetIncrementOnScrolling()
ResetMaxValue()
Resets MaxValue.
Declaration
public void ResetMaxValue()
ResetMinValue()
Resets MinValue.
Declaration
public void ResetMinValue()
ResetNullString()
Resets NullString.
Declaration
public void ResetNullString()
ResetShowArrowButtons()
Resets ShowArrowButtons.
Declaration
public void ResetShowArrowButtons()
ShouldSerializeAllowNull()
Determines whether AllowNull is serializable.
Declaration
public bool ShouldSerializeAllowNull()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |
ShouldSerializeFormat()
Determines whether Format is serializable.
Declaration
public bool ShouldSerializeFormat()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |
ShouldSerializeIncrementOnScrolling()
Determines whether IncrementOnScrolling is serializable.
Declaration
public bool ShouldSerializeIncrementOnScrolling()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |
ShouldSerializeMaxValue()
Determines whether MaxValue is serializable.
Declaration
public bool ShouldSerializeMaxValue()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |
ShouldSerializeMinValue()
Determines whether MinValue is serializable.
Declaration
public bool ShouldSerializeMinValue()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |
ShouldSerializeNullString()
Determines whether NullString is serializable.
Declaration
public bool ShouldSerializeNullString()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |
ShouldShowArrowButtons()
Determines whether ShowArrowButtons is serializable.
Declaration
public bool ShouldShowArrowButtons()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it is serializable. |