ClassContentControlBase
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
ContentControlBase()
Declaration
protected ContentControlBase()
Fields
AliasFontSizeProperty
Identifies the AliasFontSize dependency property.
Declaration
public static readonly DependencyProperty AliasFontSizeProperty
Field Value
DependencyProperty
AliasProperty
Identifies the Alias dependency property.
Declaration
public static readonly DependencyProperty AliasProperty
Field Value
DependencyProperty
FocusedProperty
Identifies the Focused dependency property.
Declaration
public static readonly DependencyProperty FocusedProperty
Field Value
DependencyProperty
HoveredProperty
Identifies the Hovered dependency property.
Declaration
public static readonly DependencyProperty HoveredProperty
Field Value
DependencyProperty
LineThicknessProperty
Identifies the LineThickness dependency property.
Declaration
public static readonly DependencyProperty LineThicknessProperty
Field Value
DependencyProperty
OutlineColorProperty
Identifies the OutlineColor dependency property.
Declaration
public static readonly DependencyProperty OutlineColorProperty
Field Value
DependencyProperty
PolygonPointsProperty
Identifies the PolygonPoints dependency property.
Declaration
public static readonly DependencyProperty PolygonPointsProperty
Field Value
DependencyProperty
SelectCommandProperty
Identifies the SelectCommand dependency property.
Declaration
public static readonly DependencyProperty SelectCommandProperty
Field Value
DependencyProperty
SelectedProperty
Identifies the Selected dependency property.
Declaration
public static readonly DependencyProperty SelectedProperty
Field Value
DependencyProperty
TextFlowDirectionProperty
Identifies the TextFlowDirection dependency property.
Declaration
public static readonly DependencyProperty TextFlowDirectionProperty
Field Value
DependencyProperty
ThumbShouldBeVisibleProperty
Identifies the ThumbShouldBeVisible dependency property.
Declaration
public static readonly DependencyProperty ThumbShouldBeVisibleProperty
Field Value
DependencyProperty
TopThumbButtonShouldBeVisibleProperty
Identifies the TopThumbButtonShouldBeVisible dependency property.
Declaration
public static readonly DependencyProperty TopThumbButtonShouldBeVisibleProperty
Field Value
DependencyProperty
Properties
Alias
Gets or sets the alias text.
AliasFontSize
Gets or sets the value indicating the font size of the alias text.
Focused
Gets or sets the value that indicates whether or not the control is selected.
Hovered
Gets or sets the value that indicates whether or not the control is hovered.
LineThickness
Gets or sets the value that indicates the line thickness of the polygon.
OutlineColor
Gets or sets the value that indicates the color of the control.
Declaration
public Color OutlineColor { get; set; }
Property Value
Color
PolygonPoints
Gets or sets the value that indicates the point collection defining the bounding polygon.
Declaration
public PointCollection PolygonPoints { get; set; }
Property Value
PointCollection
SelectCommand
Gets or sets the value that indicates the command to be executed when the control is selected.
Selected
Gets or sets the value that indicates whether the control should be highlighted or not.
TextFlowDirection
Gets or sets the value that indicates the text flow direction.
Declaration
public FlowDirection TextFlowDirection { get; set; }
Property Value
FlowDirection
ThumbShouldBeVisible
Gets or sets the value that indicates whether to show the thumb or not.
TopThumbButtonShouldBeVisible
Gets or sets the value indicating whether the button inside the top thumb should be visible or not.
Declaration
public bool TopThumbButtonShouldBeVisible { get; set; }
Property Value
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
arrangeBounds
Size
Returns
Size
GetBodyElementName()
Gets the name of the element holding the content of the control.
GetCurrentState()
Gets the current state of the control.
Declaration
public ContentControlState GetCurrentState()
Returns
Implements
Initialize(ContentControlState)
Initializes the content control with provided state.
Declaration
public virtual void Initialize(ContentControlState state)
Parameters
state
The state with which the control should be initialized.
Implements
OnApplyTemplate()
This method is called before an UI element is displayed.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
UpdateState(ContentControlState)
Updates the state of the control.
Declaration
public virtual void UpdateState(ContentControlState state)
Parameters
state
The state to be applied to the control.
Implements