Class
ContentControlBase

Definition

Namespace:Telerik.WinControls.RichTextEditor.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
public abstract class ContentControlBase : Control, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IContentControl

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementControlContentControlBase

Derived Classes: ButtonContentControlCheckBoxControlContentControlInputPictureControl

Implements: IContentControlICustomTypeDescriptorIDisposableINotifyPropertyChangedIStylableNodeISupportDropISupportSystemSkin

Inherited Members FrameworkElement.RenderTransformPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.CursorPropertyFrameworkElement.ForegroundPropertyFrameworkElement.HeightPropertyFrameworkElement.WidthPropertyFrameworkElement.InitializeFields()FrameworkElement.GetClientRectangle(SizeF)FrameworkElement.PaintElement(IGraphics, float, SizeF)FrameworkElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)FrameworkElement.DragDrop(Point, ISupportDrag)FrameworkElement.DragOver(Point, ISupportDrag)FrameworkElement.DragEnter(Point, ISupportDrag)FrameworkElement.DragLeave(Point, ISupportDrag)FrameworkElement.FlowDirectionFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.ActualHeightFrameworkElement.ActualWidthFrameworkElement.CursorFrameworkElement.RenderTransformOriginFrameworkElement.MouseOverBorderThicknessFrameworkElement.BorderBrushFrameworkElement.BackgroundFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.HorizontalContentAlignmentFrameworkElement.VerticalContentAlignmentFrameworkElement.AllowDropUIElement.TextPropertyUIElement.FlowDirectionPropertyUIElement.ClipPropertyUIElement.UpdateRenderTransform()UIElement.CaptureMouse()UIElement.ReleaseMouseCapture()UIElement.Paint(IPaintingContext)UIElement.CanPaint(IPaintingContext)UIElement.PaintCore(IPaintingContext)UIElement.ClearValue(RadProperty)UIElement.IsKeyboardFocusWithin()UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)UIElement.OnMouseClick(MouseButtonEventArgs)UIElement.OnMouseDoubleClick(MouseButtonEventArgs)UIElement.HitTest(Point)UIElement.GetClipRect()UIElement.DoClick(EventArgs)UIElement.DoDoubleClick(EventArgs)UIElement.OnMouseDown(MouseEventArgs)UIElement.DoMouseWheel(MouseEventArgs)UIElement.DoMouseMove(MouseEventArgs)UIElement.OnMouseUp(MouseEventArgs)UIElement.OnBubbleEvent(RadElement, RoutedEventArgs)UIElement.OnClick(EventArgs)UIElement.OnDoubleClick(EventArgs)UIElement.OnPropertyChanged(RadPropertyChangedEventArgs)UIElement.OnLostFocus(EventArgs)UIElement.OnGotFocus(EventArgs)UIElement.OnBoundsChanged(RadPropertyChangedEventArgs)UIElement.IsFocusableUIElement.TextUIElement.AutomationIDUIElement.RenderTransformUIElement.ClipUIElement.IsHitTestVisibleUIElement.DispatcherUIElement.HasReceivedFocusUIElement.MouseLeftButtonDownUIElement.MouseLeftButtonUpUIElement.MouseRightButtonDownUIElement.MouseRightButtonUpUIElement.MouseClickUIElement.MouseDoubleClickUIElement.MouseEnterUIElement.GotFocusUIElement.LostFocusVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.OnPropertyChanging(RadPropertyChangingEventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.CreateChildElements()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnLoaded()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintBackgroundShape(IGraphics)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.GetStylablePropertiesFilter()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseMove(MouseEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.OnMouseLeave(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadElement.ToString()RadElement.DisposeManagedResources()RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.CanHaveOwnStyleRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.ShouldHandleMouseInputRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.ToolTipTextRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

ContentControlBase()

Declaration

cs-api-definition
protected ContentControlBase()

Fields

AliasFontSizeProperty

Identifies the AliasFontSize dependency property.

Declaration

cs-api-definition
public static readonly RadProperty AliasFontSizeProperty

Field Value

RadProperty

AliasProperty

Identifies the Alias dependency property.

Declaration

cs-api-definition
public static readonly RadProperty AliasProperty

Field Value

RadProperty

FocusedProperty

Identifies the Focused dependency property.

Declaration

cs-api-definition
public static readonly RadProperty FocusedProperty

Field Value

RadProperty

HoveredProperty

Identifies the Hovered dependency property.

Declaration

cs-api-definition
public static readonly RadProperty HoveredProperty

Field Value

RadProperty

LineThicknessProperty

Identifies the LineThickness dependency property.

Declaration

cs-api-definition
public static readonly RadProperty LineThicknessProperty

Field Value

RadProperty

OutlineColorProperty

Identifies the OutlineColor dependency property.

Declaration

cs-api-definition
public static readonly RadProperty OutlineColorProperty

Field Value

RadProperty

PolygonPointsProperty

Identifies the PolygonPoints dependency property.

Declaration

cs-api-definition
public static readonly RadProperty PolygonPointsProperty

Field Value

RadProperty

SelectCommandProperty

Identifies the SelectCommand dependency property.

Declaration

cs-api-definition
public static readonly RadProperty SelectCommandProperty

Field Value

RadProperty

SelectedProperty

Identifies the Selected dependency property.

Declaration

cs-api-definition
public static readonly RadProperty SelectedProperty

Field Value

RadProperty

TextFlowDirectionProperty

Identifies the TextFlowDirection dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TextFlowDirectionProperty

Field Value

RadProperty

ThumbShouldBeVisibleProperty

Identifies the ThumbShouldBeVisible dependency property.

Declaration

cs-api-definition
public static readonly RadProperty ThumbShouldBeVisibleProperty

Field Value

RadProperty

TopThumbButtonShouldBeVisibleProperty

Identifies the TopThumbButtonShouldBeVisible dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TopThumbButtonShouldBeVisibleProperty

Field Value

RadProperty

isTemplateApplied

Declaration

cs-api-definition
protected bool isTemplateApplied

Field Value

bool

Properties

Alias

Gets or sets the alias text.

Declaration

cs-api-definition
public string Alias { get; set; }

Property Value

string

AliasFontSize

Gets or sets the value indicating the font size of the alias text.

Declaration

cs-api-definition
public double AliasFontSize { get; set; }

Property Value

double

BodyBorder

Declaration

cs-api-definition
public Polygon BodyBorder { get; }

Property Value

Polygon

BodyFill

Declaration

cs-api-definition
public Polygon BodyFill { get; }

Property Value

Polygon

DataContext

Gets or sets the value indicating whether the button inside the top thumb should be visible or not.

Declaration

cs-api-definition
public object DataContext { get; set; }

Property Value

object

Focused

Gets or sets the value that indicates whether or not the control is selected.

Declaration

cs-api-definition
public bool Focused { get; set; }

Property Value

bool

Hovered

Gets or sets the value that indicates whether or not the control is hovered.

Declaration

cs-api-definition
public bool Hovered { get; set; }

Property Value

bool

LeftThumb

Declaration

cs-api-definition
public RadToggleButtonElement LeftThumb { get; }

Property Value

RadToggleButtonElement

LeftThumbContainer

Declaration

cs-api-definition
public ContentControlBorder LeftThumbContainer { get; }

Property Value

ContentControlBorder

LineThickness

Gets or sets the value that indicates the line thickness of the polygon.

Declaration

cs-api-definition
public double LineThickness { get; set; }

Property Value

double

OutlineColor

Gets or sets the value that indicates the color of the control.

Declaration

cs-api-definition
public Color OutlineColor { get; set; }

Property Value

Color

PolygonPoints

Gets or sets the value that indicates the point collection defining the bounding polygon.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public bool Selected { get; set; }

Property Value

bool

TextFlowDirection

Gets or sets the value that indicates the text flow direction.

Declaration

cs-api-definition
public FlowDirection TextFlowDirection { get; set; }

Property Value

FlowDirection

ThumbShouldBeVisible

Gets or sets the value that indicates whether to show the thumb or not.

Declaration

cs-api-definition
public bool ThumbShouldBeVisible { get; set; }

Property Value

bool

TopThumb

Declaration

cs-api-definition
public RadToggleButtonElement TopThumb { get; }

Property Value

RadToggleButtonElement

TopThumbButtonShouldBeVisible

Gets or sets the value indicating whether the button inside the top thumb should be visible or not.

Declaration

cs-api-definition
public bool TopThumbButtonShouldBeVisible { get; set; }

Property Value

bool

TopThumbContainer

Declaration

cs-api-definition
public ContentControlBorder TopThumbContainer { get; }

Property Value

ContentControlBorder

Methods

ArrangeOverride(SizeF)

Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.

Declaration

cs-api-definition
protected override SizeF ArrangeOverride(SizeF arrangeBounds)

Parameters

arrangeBounds

SizeF

Returns

SizeF

The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.

Overrides RadElement.ArrangeOverride(SizeF)

Remarks

In this method call to the Arrange method of each child must be made.

CreateMainBodyBorderElement()

Declaration

cs-api-definition
protected virtual Polygon CreateMainBodyBorderElement()

Returns

Polygon

CreateMainBodyFillElement()

Declaration

cs-api-definition
protected virtual Polygon CreateMainBodyFillElement()

Returns

Polygon

CreateThumb()

Declaration

cs-api-definition
protected virtual RadToggleButtonElement CreateThumb()

Returns

RadToggleButtonElement

CreateThumbContainer()

Declaration

cs-api-definition
protected virtual ContentControlBorder CreateThumbContainer()

Returns

ContentControlBorder

ForceUpdateUIState()

Declaration

cs-api-definition
protected virtual void ForceUpdateUIState()

GetBodyElementName()

Gets the name of the element holding the content of the control.

Declaration

cs-api-definition
public string GetBodyElementName()

Returns

string

Implements IContentControl.GetBodyElementName()

GetCurrentState()

Gets the current state of the control.

Declaration

cs-api-definition
public ContentControlState GetCurrentState()

Returns

ContentControlState

Implements IContentControl.GetCurrentState()

GetTemplateChild(string)

Declaration

cs-api-definition
protected virtual VisualElement GetTemplateChild(string childName)

Parameters

childName

string

Returns

VisualElement

GetTopThumbButtonShouldBeVisible(ContentControlState)

Declaration

cs-api-definition
protected virtual bool GetTopThumbButtonShouldBeVisible(ContentControlState state)

Parameters

state

ContentControlState

Returns

bool

Initialize(ContentControlState)

Initializes the content control with provided state.

Declaration

cs-api-definition
public virtual void Initialize(ContentControlState state)

Parameters

state

ContentControlState

The state with which the control should be initialized.

Implements IContentControl.Initialize(ContentControlState)

IsInVisibleClipBounds(Rectangle)

Declaration

cs-api-definition
protected override bool IsInVisibleClipBounds(Rectangle clipRectangle)

Parameters

clipRectangle

Rectangle

Returns

bool

Overrides RadElement.IsInVisibleClipBounds(Rectangle)

MeasureOverride(SizeF)

Measures the space required by the RadElement

Used by the layout system.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)

Returns

SizeF

The minimum size required by the element to be completely visible. Cannot be infinity.

Overrides FrameworkElement.MeasureOverride(SizeF)

Remarks

In this method call to the Measure method of each child must be made.

OnApplyTemplate()

This method is called before an UI element is displayed.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides FrameworkElement.OnApplyTemplate()

OnStatePropertyChanged(object, PropertyChangedEventArgs)

Declaration

cs-api-definition
protected virtual void OnStatePropertyChanged(object sender, PropertyChangedEventArgs e)

Parameters

sender

object

e

PropertyChangedEventArgs

SyncDataContextChildState()

Declaration

cs-api-definition
protected virtual void SyncDataContextChildState()

SyncDataContextState()

Declaration

cs-api-definition
protected virtual void SyncDataContextState()

UpdateChildrenPolygonPoints()

Declaration

cs-api-definition
protected virtual void UpdateChildrenPolygonPoints()

UpdateChildrenVisibleUIState()

Declaration

cs-api-definition
protected virtual void UpdateChildrenVisibleUIState()

UpdateMainBodyFillOpacity()

Declaration

cs-api-definition
protected virtual void UpdateMainBodyFillOpacity()

UpdateState(ContentControlState)

Updates the state of the control.

Declaration

cs-api-definition
public virtual void UpdateState(ContentControlState state)

Parameters

state

ContentControlState

The state to be applied to the control.

Implements IContentControl.UpdateState(ContentControlState)

UpdateToggleUIState()

Declaration

cs-api-definition
protected virtual void UpdateToggleUIState()