Class FloatNumericUpDownProperties
Defines the properties for FloatNumericUpDown cell control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class FloatNumericUpDownProperties : GridStyleInfoSubObject, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
FloatNumericUpDownProperties()
Initializes a new instance of the FloatNumericUpDownProperties class.
Declaration
public FloatNumericUpDownProperties()
FloatNumericUpDownProperties(StyleInfoSubObjectIdentity)
Initializes a new instance of the FloatNumericUpDownProperties class.
Declaration
public FloatNumericUpDownProperties(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | Style info identity. |
FloatNumericUpDownProperties(StyleInfoSubObjectIdentity, NumericUpDownStyleStore)
Initializes a new instance of the FloatNumericUpDownProperties class.
Declaration
public FloatNumericUpDownProperties(StyleInfoSubObjectIdentity identity, NumericUpDownStyleStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | Style info identity. |
NumericUpDownStyleStore | store | Style info store. |
FloatNumericUpDownProperties(Font)
Initializes a new instance of the FloatNumericUpDownProperties class.
Declaration
public FloatNumericUpDownProperties(Font font)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Font | font | The Font value. |
Properties
DecimalPlaces
Gets or sets the number of digits after the decimal point.
Declaration
public int DecimalPlaces { get; set; }
Property Value
Type |
---|
System.Int32 |
Default
Gets the default value of the properties.
Declaration
public static FloatNumericUpDownProperties Default { get; }
Property Value
Type | Description |
---|---|
FloatNumericUpDownProperties | The default NumericUpDownProperties. |
HasMaximum
Gets a value indicating whether Maximum property is initialized.
Declaration
public bool HasMaximum { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HasMinimum
Gets a value indicating whether Minimum property is initialized.
Declaration
public bool HasMinimum { get; }
Property Value
Type |
---|
System.Boolean |
HasStartValue
Gets a value indicating whether StartValue property is initialized.
Declaration
public bool HasStartValue { get; }
Property Value
Type |
---|
System.Boolean |
HasStep
Gets a value indicating whether Step property is initialized.
Declaration
public bool HasStep { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HasWrapValue
Gets a value indicating whether WrapValue property is initialized.
Declaration
public bool HasWrapValue { get; }
Property Value
Type |
---|
System.Boolean |
InterceptArrowkeys
Gets or sets a value indicating whether the Up and Down keys Performs the same function as up and down arrow keys.
Declaration
public bool InterceptArrowkeys { get; set; }
Property Value
Type |
---|
System.Boolean |
Maximum
Gets or sets the maximum value.
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
Minimum
Gets or sets the minimum value.
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.Double |
Orientation
Gets or sets the orientation for the control.
Declaration
public FloatNumericUpDownProperties.OrientationType Orientation { get; set; }
Property Value
Type |
---|
FloatNumericUpDownProperties.OrientationType |
StartValue
Gets or sets the start value. This is the first value when you press up or down in an empty cell.
Declaration
public double StartValue { get; set; }
Property Value
Type |
---|
System.Double |
Step
Gets or sets the step to increase or decrease when clicking up or down buttons.
Declaration
public double Step { get; set; }
Property Value
Type |
---|
System.Double |
ThousandsSeparator
Gets or sets a value indicating whether control should be specified with the thousand separator.
Declaration
public bool ThousandsSeparator { get; set; }
Property Value
Type |
---|
System.Boolean |
WrapValue
Gets or sets a value indicating whether the value should be starting over when value reaches maximum or minimum when true.
Declaration
public bool WrapValue { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
GetDefaultStyle()
Override this method to return a default style object for your derived class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | A default style object. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Gets an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | The FloatNumericUpDownProperties |
Overrides
OnStyleChanged(StyleInfoProperty)
Notifies the associated identity object that a specific property was changed and raises a Syncfusion.Styles.StyleInfoBase.Changed event.
Declaration
protected override void OnStyleChanged(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | Identifies the property to look for |
Overrides
ResetMaximum()
Resets the Maximum property.
Declaration
public void ResetMaximum()
ResetMinimum()
Resets the Minimum property.
Declaration
public void ResetMinimum()
ResetStartValue()
Resets the StartValue property.
Declaration
public void ResetStartValue()
ResetStep()
Resets the Step property.
Declaration
public void ResetStep()
ResetWrapValue()
Resets the WrapValue property.
Declaration
public void ResetWrapValue()