Class HeaderedTextBlock
a block that contains information why no data is displayed.
Inheritance
HeaderedTextBlock
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[TemplatePart(Name = "PART_Header", Type = typeof(TextBlock))]
[TemplatePart(Name = "PART_Text", Type = typeof(TextBlock))]
[TemplatePart(Name = "PART_Separator", Type = typeof(Border))]
public class HeaderedTextBlock : Control, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Fields
View SourceHeaderFontSizeProperty
DependencyProperty for the HeaderFontSize property.
Declaration
public static readonly DependencyProperty HeaderFontSizeProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
HeaderProperty
DependencyProperty for the Header property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
TextProperty
DependencyProperty for the Text property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
VerticalOffsetProperty
DependencyProperty for the VerticalOffset property.
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceHeader
Gets or sets the header text
Declaration
public string Header { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeaderFontSize
Gets or sets the font size of the header
Declaration
public double HeaderFontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
PartSeparator
Gets the separator part.
Declaration
protected Border PartSeparator { get; }
Property Value
| Type | Description |
|---|---|
| Border |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VerticalOffset
Defines the vertical offset between header and text.
Declaration
public double VerticalOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
View SourceOnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
Declaration
public override void OnApplyTemplate()