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
AliasProperty
Identifies the Alias dependency property.
Declaration
public static readonly RadProperty AliasProperty
Field Value
FocusedProperty
Identifies the Focused dependency property.
Declaration
public static readonly RadProperty FocusedProperty
Field Value
HoveredProperty
Identifies the Hovered dependency property.
Declaration
public static readonly RadProperty HoveredProperty
Field Value
isTemplateApplied
Declaration
protected bool isTemplateApplied
Field Value
System.
|
LineThicknessProperty
Identifies the LineThickness dependency property.
Declaration
public static readonly RadProperty LineThicknessProperty
Field Value
OutlineColorProperty
Identifies the OutlineColor dependency property.
Declaration
public static readonly RadProperty OutlineColorProperty
Field Value
PolygonPointsProperty
Identifies the PolygonPoints dependency property.
Declaration
public static readonly RadProperty PolygonPointsProperty
Field Value
SelectCommandProperty
Identifies the SelectCommand dependency property.
Declaration
public static readonly RadProperty SelectCommandProperty
Field Value
SelectedProperty
Identifies the Selected dependency property.
Declaration
public static readonly RadProperty SelectedProperty
Field Value
TextFlowDirectionProperty
Identifies the TextFlowDirection dependency property.
Declaration
public static readonly RadProperty TextFlowDirectionProperty
Field Value
ThumbShouldBeVisibleProperty
Identifies the ThumbShouldBeVisible dependency property.
Declaration
public static readonly RadProperty ThumbShouldBeVisibleProperty
Field Value
TopThumbButtonShouldBeVisibleProperty
Identifies the TopThumbButtonShouldBeVisible dependency property.
Declaration
public static readonly RadProperty TopThumbButtonShouldBeVisibleProperty
Field Value
Properties
Alias
Gets or sets the alias text.
Declaration
public string Alias { get; set; }
Property Value
System.
|
AliasFontSize
Gets or sets the value indicating the font size of the alias text.
Declaration
public double AliasFontSize { get; set; }
Property Value
System.
|
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.
|
Focused
Gets or sets the value that indicates whether or not the control is selected.
Declaration
public bool Focused { get; set; }
Property Value
System.
|
Hovered
Gets or sets the value that indicates whether or not the control is hovered.
Declaration
public bool Hovered { get; set; }
Property Value
System.
|
LeftThumb
LeftThumbContainer
Declaration
public ContentControlBorder LeftThumbContainer { get; }
Property Value
LineThickness
Gets or sets the value that indicates the line thickness of the polygon.
Declaration
public double LineThickness { get; set; }
Property Value
System.
|
OutlineColor
Gets or sets the value that indicates the color of the control.
Declaration
public Color OutlineColor { get; set; }
Property Value
PolygonPoints
Gets or sets the value that indicates the point collection defining the bounding polygon.
Declaration
public PointCollection PolygonPoints { get; set; }
Property Value
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
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.
|
TextFlowDirection
Gets or sets the value that indicates the text flow direction.
Declaration
public FlowDirection TextFlowDirection { get; set; }
Property Value
ThumbShouldBeVisible
Gets or sets the value that indicates whether to show the thumb or not.
Declaration
public bool ThumbShouldBeVisible { get; set; }
Property Value
System.
|
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.
|
TopThumbContainer
Declaration
public ContentControlBorder TopThumbContainer { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF arrangeBounds)
Parameters
System.
|
Returns
System.
|
Overrides
CreateMainBodyBorderElement()
CreateMainBodyFillElement()
CreateThumb()
CreateThumbContainer()
Declaration
protected virtual ContentControlBorder CreateThumbContainer()
Returns
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.
|
Implements
GetCurrentState()
Gets the current state of the control.
Declaration
public ContentControlState GetCurrentState()
Returns
Implements
GetTemplateChild(String)
Declaration
protected virtual VisualElement GetTemplateChild(string childName)
Parameters
System.
|
Returns
GetTopThumbButtonShouldBeVisible(ContentControlState)
Declaration
protected virtual bool GetTopThumbButtonShouldBeVisible(ContentControlState state)
Parameters
Content
|
Returns
System.
|
Initialize(ContentControlState)
Initializes the content control with provided state.
Declaration
public virtual void Initialize(ContentControlState state)
Parameters
Content The state with which the control should be initialized. |
Implements
IsInVisibleClipBounds(Rectangle)
Declaration
protected override bool IsInVisibleClipBounds(Rectangle clipRectangle)
Parameters
System.
|
Returns
System.
|
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
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.
|
System.
|
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
Content The state to be applied to the control. |
Implements
UpdateToggleUIState()
Declaration
protected virtual void UpdateToggleUIState()