WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridUpDownEditStyleInfo

    Show / Hide Table of Contents

    Class GridUpDownEditStyleInfo

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

    Constructors

    GridUpDownEditStyleInfo()

    Initializes a new empty GridUpDownEditStyleInfo object.

    Declaration
    public GridUpDownEditStyleInfo()

    GridUpDownEditStyleInfo(StyleInfoSubObjectIdentity)

    Initalizes a new GridUpDownEditStyleInfo object and associates it with an existing .

    Declaration
    public GridUpDownEditStyleInfo(StyleInfoSubObjectIdentity identity)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the indentity for this GridUpDownEditStyleInfo.

    GridUpDownEditStyleInfo(StyleInfoSubObjectIdentity, GridUpDownEditStyleInfoStore)

    Initalizes a new GridUpDownEditStyleInfo object and associates it with an existing .

    Declaration
    public GridUpDownEditStyleInfo(StyleInfoSubObjectIdentity identity, GridUpDownEditStyleInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the indentity for this GridUpDownEditStyleInfo.

    GridUpDownEditStyleInfoStore store

    A GridUpDownEditStyleInfoStore that holds data for this GridUpDownEditStyleInfo. All changes in this style object will be saved in the GridUpDownEditStyleInfoStore object.

    Properties

    AnimationSpeed

    Gets or sets the animation speed of value change.

    Declaration
    public double AnimationSpeed { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double Default value is 0.1.

    See Also
    System.Double

    Default

    Returns a default GridUpDownEditStyleInfo to be used with a default style.

    Declaration
    public static GridUpDownEditStyleInfo Default { get; }
    Property Value
    Type Description
    GridUpDownEditStyleInfo

    The default.

    Remarks

    The Default of the GridStyleInfo class will return the validation info that this method generates through its overriden version of GetDefaultStyle().

    FocusedBackground

    Gets or sets the background when control is focused.

    Declaration
    public Brush FocusedBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    Type: System.Windows.Media.Brush Default value is Brushes.White.

    See Also
    System.Windows.Media.Brush

    FocusedBorderBrush

    Gets or sets the borderBrush when control is focused.

    Declaration
    public Brush FocusedBorderBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    Type: System.Windows.Media.Brush Default value is Brushes.Black.

    See Also
    System.Windows.Media.Brush

    FocusedForeground

    Gets or sets the foreground when control is focused.

    Declaration
    public Brush FocusedForeground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    Type: System.Windows.Media.Brush Default value is Brushes.Black.

    See Also
    System.Windows.Media.Brush

    HasAnimationSpeed

    Determines whether AnimationSpeed is initialized for current object.

    Declaration
    public bool HasAnimationSpeed { get; }
    Property Value
    Type Description
    System.Boolean

    HasFocusedBackground

    Determines whether FocusedBackground is initialized for current object.

    Declaration
    public bool HasFocusedBackground { get; }
    Property Value
    Type Description
    System.Boolean

    HasFocusedBorderBrush

    Determines whether FocusedBorderBrush is initialized for current object.

    Declaration
    public bool HasFocusedBorderBrush { get; }
    Property Value
    Type Description
    System.Boolean

    HasFocusedForeground

    Determines whether FocusedForeground is initialized for current object.

    Declaration
    public bool HasFocusedForeground { get; }
    Property Value
    Type Description
    System.Boolean

    HasMaxValue

    Determines whether MaxValue is initialized for current object.

    Declaration
    public bool HasMaxValue { get; }
    Property Value
    Type Description
    System.Boolean

    HasMinValue

    Determines whether MinValue is initialized for current object.

    Declaration
    public bool HasMinValue { get; }
    Property Value
    Type Description
    System.Boolean

    HasNegativeForeground

    Determines whether NegativeForeground is initialized for current object.

    Declaration
    public bool HasNegativeForeground { get; }
    Property Value
    Type Description
    System.Boolean

    HasStep

    Determines whether Step is initialized for current object.

    Declaration
    public bool HasStep { get; }
    Property Value
    Type Description
    System.Boolean

    MaxValue

    Gets or sets the maximum value for the control.

    Declaration
    public double MaxValue { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double Default value is double.MaxValue.

    See Also
    System.Double

    MinValue

    Gets or sets the minimum value for the control.

    Declaration
    public double MinValue { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double Default value is double.MinValue.

    See Also
    System.Double

    NegativeForeground

    Gets or sets background of the control when it's value is negative.

    Declaration
    public Brush NegativeForeground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    Type: System.Windows.Media.Brush

    Step

    Gets or sets the step to increment or decrement the value of the control when the up or down button is clicked.

    Declaration
    public double Step { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double Default value is 1.

    See Also
    System.Double

    Methods

    GetDefaultStyle()

    Returns Default.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    A GridUpDownEditStyleInfo object with default values.

    Overrides
    StyleInfoBase.GetDefaultStyle()

    ResetAnimationSpeed()

    Resets AnimationSpeed.

    Declaration
    public void ResetAnimationSpeed()

    ResetFocusedBackground()

    Resets FocusedBackground.

    Declaration
    public void ResetFocusedBackground()

    ResetFocusedBorderBrush()

    Resets FocusedBorderBrush.

    Declaration
    public void ResetFocusedBorderBrush()

    ResetFocusedForeground()

    Resets FocusedForeground.

    Declaration
    public void ResetFocusedForeground()

    ResetMaxValue()

    Resets MaxValue.

    Declaration
    public void ResetMaxValue()

    ResetMinValue()

    Resets MinValue.

    Declaration
    public void ResetMinValue()

    ResetNegativeForeground()

    Resets NegativeForeground.

    Declaration
    public void ResetNegativeForeground()

    ResetStep()

    Resets Step.

    Declaration
    public void ResetStep()

    ShouldSerializeAnimationSpeed()

    Determines whether AnimationSpeed is serializable.

    Declaration
    public bool ShouldSerializeAnimationSpeed()
    Returns
    Type Description
    System.Boolean

    True if it is serializable.

    ShouldSerializeFocusedBackground()

    Determines whether FocusedBackground is serializable.

    Declaration
    public bool ShouldSerializeFocusedBackground()
    Returns
    Type Description
    System.Boolean

    True if it is serializable.

    ShouldSerializeFocusedBorderBrush()

    Determines whether FocusedBorderBrush is serializable.

    Declaration
    public bool ShouldSerializeFocusedBorderBrush()
    Returns
    Type Description
    System.Boolean

    True if it is serializable.

    ShouldSerializeFocusedForeground()

    Determines whether FocusedForeground is serializable.

    Declaration
    public bool ShouldSerializeFocusedForeground()
    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.

    ShouldSerializeNegativeForeground()

    Determines whether NegativeForeground is serializable.

    Declaration
    public bool ShouldSerializeNegativeForeground()
    Returns
    Type Description
    System.Boolean

    True if it is serializable.

    ShouldSerializeStep()

    Determines whether Step is serializable.

    Declaration
    public bool ShouldSerializeStep()
    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 - 2023 Syncfusion Inc. All Rights Reserved