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


In This Topic
    DateLiteralField Class
    In This Topic
    Object Model
    DateLiteralField 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 DateLiteralField 
       Inherits DateField
    'Usage
     
    Dim instance As DateLiteralField
    [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 DateLiteralField : DateField 
    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 System.Windows.UIElement.IsKeyboardFocused is true.

    ValidationStates

    InvalidUnfocused

    Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and System.Windows.UIElement.IsKeyboardFocused is false.

    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.DateField
                               GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateLiteralField

    See Also