Class DescriptionViewer
Displays a description and tracks error state for a control.
Inherited Members
Namespace: System.Windows.Controls
Assembly: Controls.Data.Input.OpenSilver.dll
Syntax
public class DescriptionViewer : Control
Constructors
| Improve this Doc View SourceDescriptionViewer()
Initializes a new instance of the DescriptionViewer class.
Declaration
public DescriptionViewer()
Fields
| Improve this Doc View SourceDescriptionProperty
Identifies the Description dependency property.
Declaration
public static readonly DependencyProperty DescriptionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GlyphTemplateProperty
Identifies the GlyphTemplate dependency property.
Declaration
public static readonly DependencyProperty GlyphTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsFocusedProperty
Identifies the IsFocused dependency property
Declaration
public static readonly DependencyProperty IsFocusedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsValidProperty
Identifies the IsValid dependency property
Declaration
public static readonly DependencyProperty IsValidProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PropertyPathProperty
Identifies the PropertyPath dependency property
Declaration
public static readonly DependencyProperty PropertyPathProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TargetProperty
Identifies the Target dependency property.
Declaration
public static readonly DependencyProperty TargetProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ToolTipStyleProperty
Identifies the ToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty ToolTipStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceDescription
Gets or sets the description text displayed by the viewer.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GlyphTemplate
Gets or sets the template that is used to display the description viewer glyph.
Declaration
public ControlTemplate GlyphTemplate { get; set; }
Property Value
Type | Description |
---|---|
ControlTemplate |
IsFocused
Gets a value that indicates whether the Target of the DescriptionViewer has focus.
Declaration
protected bool IsFocused { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValid
Gets a value that indicates whether the Target field data is valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PropertyPath
Gets or sets the path to the dependency property on the DataContext of the Target control that this DescriptionViewer is associated with.
Declaration
public string PropertyPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Target
Gets or sets the control that this DescriptionViewer is associated with.
Declaration
public FrameworkElement Target { get; set; }
Property Value
Type | Description |
---|---|
FrameworkElement |
ToolTipStyle
Gets or sets the style used to display tooltips.
Declaration
public Style ToolTipStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
Methods
| Improve this Doc View SourceOnApplyTemplate()
When the template is applied, this loads all the template parts
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnCreateAutomationPeer()
Creates AutomationPeer (OnCreateAutomationPeer())
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
AutomationPeer | The AutomationPeer associated with this DescriptionViewer. |
Overrides
| Improve this Doc View SourceRefresh()
Reload the metadata from the source target or DomainContext
Declaration
public virtual void Refresh()