Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / NumberDecimalPartField Class
Members


In This Topic
    NumberDecimalPartField Class
    In This Topic
    Represents NumberDecimalPartField class which displays decimal part for GrapeCity.Windows.InputMan.GcNumber.
    Object Model
    NumberDecimalPartField Class
    Syntax
    'Declaration
     
    <DesignTimeVisibleAttribute(False)>
    <TemplatePartAttribute(Name="PART_ContentHost", Type=GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldContentPresenter)>
    <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class NumberDecimalPartField 
       Inherits NumberField
       Implements ISpinable 
    'Usage
     
    Dim instance As NumberDecimalPartField
    [DesignTimeVisible(false)]
    [TemplatePart(Name="PART_ContentHost", Type=GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldContentPresenter)]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class NumberDecimalPartField : NumberField, ISpinable  
    Remarks

    Supported System.Windows.VisualState list:

    VisualStateGroup Name

    VisualState Name

    Description

    CommonStates

    Normal

    Represents the visual appearance when control is in normal state.

    CommonStates

    Disabled

    Represents the visual appearance when System.Windows.UIElement.IsEnabled is false.

    CommonStates

    MouseOver

    Represents the visual appearance when System.Windows.UIElement.IsMouseOver is true.

    ActiveStates

    Active

    Represents the visual appearance when Field.IsActive is true.

    ActiveStates

    Inactive

    Represents the visual appearance when Field.IsActive is false.

    InputStates

    Full

    Represents the visual appearance when Field.IsFull is true.

    InputStates

    Completed

    Represents the visual appearance when Field.IsCompleted is true.

    InputStates

    Empty

    Represents the visual appearance when Field.IsEmpty is true.

    InputStates

    Part

    Represents the visual appearance when Field.IsFull, Field.IsCompleted and Field.IsEmpty all are false.

    ValidationStates

    Valid

    Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns false.

    ValidationStates

    InvalidFocused

    Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and control has focus.

    ValidationStates

    InvalidUnfocused

    Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and control has no focus.

    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         GrapeCity.Wpf.SpreadSheet.CellType.Editors.Field
                            GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberField
                               GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberDecimalPartField

    See Also