ContentControlBase
Represents a control used to visualize the structured document tag elements.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class ContentControlBase : Control, IContentControl
Inheritance: objectContentControlBase
Derived Classes:
Implements:
Constructors
protected ContentControlBase()
Fields
AliasFontSizeProperty
DependencyProperty
Identifies the AliasFontSize dependency property.
public static readonly DependencyProperty AliasFontSizeProperty
AliasProperty
DependencyProperty
Identifies the Alias dependency property.
public static readonly DependencyProperty AliasProperty
FocusedProperty
DependencyProperty
Identifies the Focused dependency property.
public static readonly DependencyProperty FocusedProperty
HoveredProperty
DependencyProperty
Identifies the Hovered dependency property.
public static readonly DependencyProperty HoveredProperty
LineThicknessProperty
DependencyProperty
Identifies the LineThickness dependency property.
public static readonly DependencyProperty LineThicknessProperty
OutlineColorProperty
DependencyProperty
Identifies the OutlineColor dependency property.
public static readonly DependencyProperty OutlineColorProperty
PolygonPointsProperty
DependencyProperty
Identifies the PolygonPoints dependency property.
public static readonly DependencyProperty PolygonPointsProperty
SelectCommandProperty
DependencyProperty
Identifies the SelectCommand dependency property.
public static readonly DependencyProperty SelectCommandProperty
SelectedProperty
DependencyProperty
Identifies the Selected dependency property.
public static readonly DependencyProperty SelectedProperty
TextFlowDirectionProperty
DependencyProperty
Identifies the TextFlowDirection dependency property.
public static readonly DependencyProperty TextFlowDirectionProperty
ThumbShouldBeVisibleProperty
DependencyProperty
Identifies the ThumbShouldBeVisible dependency property.
public static readonly DependencyProperty ThumbShouldBeVisibleProperty
TopThumbButtonShouldBeVisibleProperty
DependencyProperty
Identifies the TopThumbButtonShouldBeVisible dependency property.
public static readonly DependencyProperty TopThumbButtonShouldBeVisibleProperty
Properties
Gets or sets the value indicating the font size of the alias text.
public double AliasFontSize { get; set; }
Gets or sets the value that indicates whether or not the control is selected.
public bool Focused { get; set; }
Gets or sets the value that indicates whether or not the control is hovered.
public bool Hovered { get; set; }
Gets or sets the value that indicates the line thickness of the polygon.
public double LineThickness { get; set; }
OutlineColor
Color
Gets or sets the value that indicates the color of the control.
public Color OutlineColor { get; set; }
PolygonPoints
PointCollection
Gets or sets the value that indicates the point collection defining the bounding polygon.
public PointCollection PolygonPoints { get; set; }
Gets or sets the value that indicates the command to be executed when the control is selected.
public ICommand SelectCommand { get; set; }
Gets or sets the value that indicates whether the control should be highlighted or not.
public bool Selected { get; set; }
TextFlowDirection
FlowDirection
Gets or sets the value that indicates the text flow direction.
public FlowDirection TextFlowDirection { get; set; }
Gets or sets the value that indicates whether to show the thumb or not.
public bool ThumbShouldBeVisible { get; set; }
Gets or sets the value indicating whether the button inside the top thumb should be visible or not.
public bool TopThumbButtonShouldBeVisible { get; set; }
Methods
protected override Size ArrangeOverride(Size arrangeBounds)
Size
Gets the name of the element holding the content of the control.
Gets the current state of the control.
Initializes the content control with provided state.
public virtual void Initialize(ContentControlState state)
The state with which the control should be initialized.
Implements:
This method is called before an UI element is displayed.
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Updates the state of the control.
public virtual void UpdateState(ContentControlState state)
The state to be applied to the control.
Implements: