[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DisplayField

DisplayField Class

Represents the basic display unit which is shown when control lost keyboard focus.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
[TemplatePart(Name = "PART_ContentHost", Type = typeof(FieldContentPresenter))]
public abstract class DisplayField : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
<TemplatePart(Name:="PART_ContentHost", Type:=GetType(FieldContentPresenter))>
Public MustInherit Class DisplayField
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
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.

Constructors

Name Description
DisplayField()

Properties

Name Description
Text

Gets text associate to the display field.

Methods

Name Description
Focus()

Attempts to set focus to this element.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs).

OnTemplateChanged(ControlTemplate, ControlTemplate)

Called whenever the control's template changes.