[]
Represents the basic display unit which is shown when control lost keyboard focus.
[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
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.
Name | Description |
---|---|
DisplayField() |
Name | Description |
---|---|
Text | Gets text associate to the display field. |
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. |