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


In This Topic
    DisplayField Class
    In This Topic
    Represents the basic display unit which is shown when control lost keyboard focus.
    Object Model
    DisplayField Class
    Syntax
    'Declaration
     
    <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 MustInherit Class DisplayField 
       Inherits System.Windows.Controls.Control
    'Usage
     
    Dim instance As DisplayField
    [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 abstract class DisplayField : System.Windows.Controls.Control 
    Remarks
    GrapeCity.Windows.InputMan.Fields.Primitives.DisplayField is shown when control lost keyboard focus. User can set different format and show different text based on current value of control.
    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.DisplayField
                            GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateDisplayField
                            GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberDisplayField

    See Also