menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridTimeSpanEditStyleInfo - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    StyleInfoBase
    StyleInfoSubObjectBase
    GridTimeSpanEditStyleInfo
    Implements
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    StyleInfoBase.BeginInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.CacheValues
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    StyleInfoBase.ClearCache()
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.EndInit()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.IsChanged
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.Store
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.Updating
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Dispose()
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.Owner
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.SubObjectIdentity
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    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 that holds the indentity for this GridTimeSpanEditStyleInfo.

    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 that holds the indentity for this GridTimeSpanEditStyleInfo.

    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
    System.String

    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
    System.Boolean

    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
    System.Double

    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
    System.Double

    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
    System.String

    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
    System.Boolean

    Methods

    GetDefaultStyle()

    Returns Default.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    A GridTimeSpanEditStyleInfo object with default values.

    Overrides
    StyleInfoBase.GetDefaultStyle()

    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.

    Implements

    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved