Class ContentControlBase
Inheritance
Inherited Members
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public abstract class ContentControlBase : Control, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IContentControl
Constructors
ContentControlBase()
Declaration
protected ContentControlBase()
Fields
AliasFontSizeProperty
Identifies the AliasFontSize dependency property.
Declaration
public static readonly RadProperty AliasFontSizeProperty
Field Value
RadProperty
|
AliasProperty
Identifies the Alias dependency property.
Declaration
public static readonly RadProperty AliasProperty
Field Value
RadProperty
|
FocusedProperty
Identifies the Focused dependency property.
Declaration
public static readonly RadProperty FocusedProperty
Field Value
RadProperty
|
HoveredProperty
Identifies the Hovered dependency property.
Declaration
public static readonly RadProperty HoveredProperty
Field Value
RadProperty
|
isTemplateApplied
Declaration
protected bool isTemplateApplied
Field Value
System.Boolean
|
LineThicknessProperty
Identifies the LineThickness dependency property.
Declaration
public static readonly RadProperty LineThicknessProperty
Field Value
RadProperty
|
OutlineColorProperty
Identifies the OutlineColor dependency property.
Declaration
public static readonly RadProperty OutlineColorProperty
Field Value
RadProperty
|
PolygonPointsProperty
Identifies the PolygonPoints dependency property.
Declaration
public static readonly RadProperty PolygonPointsProperty
Field Value
RadProperty
|
SelectCommandProperty
Identifies the SelectCommand dependency property.
Declaration
public static readonly RadProperty SelectCommandProperty
Field Value
RadProperty
|
SelectedProperty
Identifies the Selected dependency property.
Declaration
public static readonly RadProperty SelectedProperty
Field Value
RadProperty
|
TextFlowDirectionProperty
Identifies the TextFlowDirection dependency property.
Declaration
public static readonly RadProperty TextFlowDirectionProperty
Field Value
RadProperty
|
ThumbShouldBeVisibleProperty
Identifies the ThumbShouldBeVisible dependency property.
Declaration
public static readonly RadProperty ThumbShouldBeVisibleProperty
Field Value
RadProperty
|
TopThumbButtonShouldBeVisibleProperty
Identifies the TopThumbButtonShouldBeVisible dependency property.
Declaration
public static readonly RadProperty TopThumbButtonShouldBeVisibleProperty
Field Value
RadProperty
|
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
|
BodyBorder
BodyFill
DataContext
Gets or sets the value indicating whether the button inside the top thumb should be visible or not.
Declaration
public object DataContext { get; set; }
Property Value
System.Object
|
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
|
LeftThumb
LeftThumbContainer
Declaration
public ContentControlBorder LeftThumbContainer { get; }
Property Value
ContentControlBorder
|
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
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.
Declaration
public ICommand SelectCommand { get; set; }
Property Value
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
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
|
TopThumb
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
|
TopThumbContainer
Declaration
public ContentControlBorder TopThumbContainer { get; }
Property Value
ContentControlBorder
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF arrangeBounds)
Parameters
System.Drawing.SizeF
arrangeBounds
|
Returns
System.Drawing.SizeF
|
Overrides
CreateMainBodyBorderElement()
CreateMainBodyFillElement()
CreateThumb()
CreateThumbContainer()
Declaration
protected virtual ContentControlBorder CreateThumbContainer()
Returns
ContentControlBorder
|
ForceUpdateUIState()
Declaration
protected virtual void ForceUpdateUIState()
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
GetTemplateChild(String)
Declaration
protected virtual VisualElement GetTemplateChild(string childName)
Parameters
System.String
childName
|
Returns
VisualElement
|
GetTopThumbButtonShouldBeVisible(ContentControlState)
Declaration
protected virtual bool GetTopThumbButtonShouldBeVisible(ContentControlState state)
Parameters
ContentControlState
state
|
Returns
System.Boolean
|
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
IsInVisibleClipBounds(Rectangle)
Declaration
protected override bool IsInVisibleClipBounds(Rectangle clipRectangle)
Parameters
System.Drawing.Rectangle
clipRectangle
|
Returns
System.Boolean
|
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnApplyTemplate()
This method is called before an UI element is displayed.
Declaration
public override void OnApplyTemplate()
Overrides
OnStatePropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void OnStatePropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
|
System.ComponentModel.PropertyChangedEventArgs
e
|
SyncDataContextChildState()
Declaration
protected virtual void SyncDataContextChildState()
SyncDataContextState()
Declaration
protected virtual void SyncDataContextState()
UpdateChildrenPolygonPoints()
Declaration
protected virtual void UpdateChildrenPolygonPoints()
UpdateChildrenVisibleUIState()
Declaration
protected virtual void UpdateChildrenVisibleUIState()
UpdateMainBodyFillOpacity()
Declaration
protected virtual void UpdateMainBodyFillOpacity()
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. |
Implements
UpdateToggleUIState()
Declaration
protected virtual void UpdateToggleUIState()