Class ContentControlBase
Represents a control used to visualize the structured document tag elements.
Inheritance
Namespace: Telerik.Windows.Controls.RichTextBoxUI
Assembly: Telerik.Windows.Controls.RichTextBoxUI.dll
Syntax
public abstract class ContentControlBase : Control, IContentControl
Constructors
ContentControlBase()
Declaration
protected ContentControlBase()
Fields
AliasFontSizeProperty
Identifies the AliasFontSize dependency property.
Declaration
public static readonly DependencyProperty AliasFontSizeProperty
Field Value
System.Windows.DependencyProperty
|
AliasProperty
Identifies the Alias dependency property.
Declaration
public static readonly DependencyProperty AliasProperty
Field Value
System.Windows.DependencyProperty
|
FocusedProperty
Identifies the Focused dependency property.
Declaration
public static readonly DependencyProperty FocusedProperty
Field Value
System.Windows.DependencyProperty
|
HoveredProperty
Identifies the Hovered dependency property.
Declaration
public static readonly DependencyProperty HoveredProperty
Field Value
System.Windows.DependencyProperty
|
LineThicknessProperty
Identifies the LineThickness dependency property.
Declaration
public static readonly DependencyProperty LineThicknessProperty
Field Value
System.Windows.DependencyProperty
|
OutlineColorProperty
Identifies the OutlineColor dependency property.
Declaration
public static readonly DependencyProperty OutlineColorProperty
Field Value
System.Windows.DependencyProperty
|
PolygonPointsProperty
Identifies the PolygonPoints dependency property.
Declaration
public static readonly DependencyProperty PolygonPointsProperty
Field Value
System.Windows.DependencyProperty
|
SelectCommandProperty
Identifies the SelectCommand dependency property.
Declaration
public static readonly DependencyProperty SelectCommandProperty
Field Value
System.Windows.DependencyProperty
|
SelectedProperty
Identifies the Selected dependency property.
Declaration
public static readonly DependencyProperty SelectedProperty
Field Value
System.Windows.DependencyProperty
|
TextFlowDirectionProperty
Identifies the TextFlowDirection dependency property.
Declaration
public static readonly DependencyProperty TextFlowDirectionProperty
Field Value
System.Windows.DependencyProperty
|
ThumbShouldBeVisibleProperty
Identifies the ThumbShouldBeVisible dependency property.
Declaration
public static readonly DependencyProperty ThumbShouldBeVisibleProperty
Field Value
System.Windows.DependencyProperty
|
TopThumbButtonShouldBeVisibleProperty
Identifies the TopThumbButtonShouldBeVisible dependency property.
Declaration
public static readonly DependencyProperty TopThumbButtonShouldBeVisibleProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Alias
Gets or sets the alias text.
Declaration
public string Alias { get; set; }
Property Value
System.String
|
AliasFontSize
Gets or sets the value indicating the font size of the alias text.
Declaration
public double AliasFontSize { get; set; }
Property Value
System.Double
|
Focused
Gets or sets the value that indicates whether or not the control is selected.
Declaration
public bool Focused { get; set; }
Property Value
System.Boolean
|
Hovered
Gets or sets the value that indicates whether or not the control is hovered.
Declaration
public bool Hovered { get; set; }
Property Value
System.Boolean
|
LineThickness
Gets or sets the value that indicates the line thickness of the polygon.
Declaration
public double LineThickness { get; set; }
Property Value
System.Double
|
OutlineColor
Gets or sets the value that indicates the color of the control.
Declaration
public Color OutlineColor { get; set; }
Property Value
System.Windows.Media.Color
|
PolygonPoints
Gets or sets the value that indicates the point collection defining the bounding polygon.
Declaration
public PointCollection PolygonPoints { get; set; }
Property Value
System.Windows.Media.PointCollection
|
SelectCommand
Gets or sets the value that indicates the command to be executed when the control is selected.
Declaration
public ICommand SelectCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
Selected
Gets or sets the value that indicates whether the control should be highlighted or not.
Declaration
public bool Selected { get; set; }
Property Value
System.Boolean
|
TextFlowDirection
Gets or sets the value that indicates the text flow direction.
Declaration
public FlowDirection TextFlowDirection { get; set; }
Property Value
System.Windows.FlowDirection
|
ThumbShouldBeVisible
Gets or sets the value that indicates whether to show the thumb or not.
Declaration
public bool ThumbShouldBeVisible { get; set; }
Property Value
System.Boolean
|
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
System.Boolean
|
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
System.Windows.Size
arrangeBounds
|
Returns
System.Windows.Size
|
GetBodyElementName()
Gets the name of the element holding the content of the control.
Declaration
public string GetBodyElementName()
Returns
System.String
|
Implements
GetCurrentState()
Gets the current state of the control.
Declaration
public ContentControlState GetCurrentState()
Returns
ContentControlState
|
Implements
Initialize(ContentControlState)
Initializes the content control with provided state.
Declaration
public virtual void Initialize(ContentControlState state)
Parameters
ContentControlState
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 System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
UpdateState(ContentControlState)
Updates the state of the control.
Declaration
public virtual void UpdateState(ContentControlState state)
Parameters
ContentControlState
state
The state to be applied to the control. |