Class
UIItemBase

Provides an abstract base class for UI items used in various Telerik controls such as RadTreeView, RadPanelBar, and RadCalendar. This class incorporates essential functionality for painting gradient backgrounds and borders, similar to FillPrimitive and BorderPrimitive, while implementing multiple interfaces for comprehensive visual element support.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public abstract class UIItemBase : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBase

Derived Classes: LightVisualElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkin

Inherited Members RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.InitializeFields()RadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseMove(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ShouldSerializeProperty(PropertyDescriptor)RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintElement(IGraphics, float, SizeF)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.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ArrangeOverride(SizeF)RadElement.MeasureOverride(SizeF)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.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)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.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.GetClipRect()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.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(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.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(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.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetClientRectangle(SizeF)RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.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.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.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

UIItemBase()

Initializes a new instance of the UIItemBase class with default settings.

Declaration

cs-api-definition
protected UIItemBase()

Properties

BackColor2

Gets or sets the second color used in gradient fill effects.

Declaration

cs-api-definition
public abstract Color BackColor2 { get; set; }

Property Value

Color

Implements IFillElement.BackColor2

BackColor3

Gets or sets the third color used in multi-color gradient fill effects.

Declaration

cs-api-definition
public abstract Color BackColor3 { get; set; }

Property Value

Color

Implements IFillElement.BackColor3

BackColor4

Gets or sets the fourth color used in multi-color gradient fill effects.

Declaration

cs-api-definition
public abstract Color BackColor4 { get; set; }

Property Value

Color

Implements IFillElement.BackColor4

BorderBottomColor

Gets or sets the color of the bottom border when using individual border configuration.

Declaration

cs-api-definition
public abstract Color BorderBottomColor { get; set; }

Property Value

Color

BorderBottomShadowColor

Gets or sets the shadow color for the bottom border, providing visual depth effects.

Declaration

cs-api-definition
public abstract Color BorderBottomShadowColor { get; set; }

Property Value

Color

BorderBottomWidth

Gets or sets the width of the bottom border when using individual border configuration.

Declaration

cs-api-definition
public abstract float BorderBottomWidth { get; set; }

Property Value

float

BorderBoxStyle

Gets or sets the border box style that determines how the border is rendered and configured.

Declaration

cs-api-definition
public abstract BorderBoxStyle BorderBoxStyle { get; set; }

Property Value

BorderBoxStyle

BorderColor

Gets or sets the primary border color used for solid borders or as the first color in gradient border effects.

Declaration

cs-api-definition
public abstract Color BorderColor { get; set; }

Property Value

Color

BorderColor2

Gets or sets the second color used in gradient border effects.

Declaration

cs-api-definition
public abstract Color BorderColor2 { get; set; }

Property Value

Color

BorderColor3

Gets or sets the third color used in multi-color gradient border effects.

Declaration

cs-api-definition
public abstract Color BorderColor3 { get; set; }

Property Value

Color

BorderColor4

Gets or sets the fourth color used in multi-color gradient border effects.

Declaration

cs-api-definition
public abstract Color BorderColor4 { get; set; }

Property Value

Color

BorderDashPattern

Gets or sets the custom dash pattern for border lines when using custom dash styles.

Declaration

cs-api-definition
public abstract float[] BorderDashPattern { get; set; }

Property Value

float[]

Implements IBorderElement.BorderDashPattern

BorderDashStyle

Gets or sets the dash style for border lines, determining whether borders are solid, dashed, dotted, etc.

Declaration

cs-api-definition
public abstract DashStyle BorderDashStyle { get; set; }

Property Value

DashStyle

Implements IBorderElement.BorderDashStyle

BorderDrawMode

Gets or sets the border drawing mode that controls the order in which border lines are drawn when using four borders.

Declaration

cs-api-definition
public abstract BorderDrawModes BorderDrawMode { get; set; }

Property Value

BorderDrawModes

Implements IBorderElement.BorderDrawMode

BorderGradientAngle

Gets or sets the angle in degrees for gradient border effects.

Declaration

cs-api-definition
public abstract float BorderGradientAngle { get; set; }

Property Value

float

BorderGradientStyle

Gets or sets the gradient style used for rendering gradient border effects.

Declaration

cs-api-definition
public abstract GradientStyles BorderGradientStyle { get; set; }

Property Value

GradientStyles

BorderInnerColor

Gets or sets the primary inner border color used in composite border styles.

Declaration

cs-api-definition
public abstract Color BorderInnerColor { get; set; }

Property Value

Color

BorderInnerColor2

Gets or sets the second inner border color used in gradient inner border effects.

Declaration

cs-api-definition
public abstract Color BorderInnerColor2 { get; set; }

Property Value

Color

BorderInnerColor3

Gets or sets the third inner border color used in multi-color gradient inner border effects.

Declaration

cs-api-definition
public abstract Color BorderInnerColor3 { get; set; }

Property Value

Color

BorderInnerColor4

Gets or sets the fourth inner border color used in multi-color gradient inner border effects.

Declaration

cs-api-definition
public abstract Color BorderInnerColor4 { get; set; }

Property Value

Color

BorderLeftColor

Gets or sets the color of the left border when using individual border configuration.

Declaration

cs-api-definition
public abstract Color BorderLeftColor { get; set; }

Property Value

Color

BorderLeftShadowColor

Gets or sets the shadow color for the left border, providing visual depth effects.

Declaration

cs-api-definition
public abstract Color BorderLeftShadowColor { get; set; }

Property Value

Color

BorderLeftWidth

Gets or sets the width of the left border when using individual border configuration.

Declaration

cs-api-definition
public abstract float BorderLeftWidth { get; set; }

Property Value

float

BorderRightColor

Gets or sets the color of the right border when using individual border configuration.

Declaration

cs-api-definition
public abstract Color BorderRightColor { get; set; }

Property Value

Color

BorderRightShadowColor

Gets or sets the shadow color for the right border, providing visual depth effects.

Declaration

cs-api-definition
public abstract Color BorderRightShadowColor { get; set; }

Property Value

Color

BorderRightWidth

Gets or sets the width of the right border when using individual border configuration.

Declaration

cs-api-definition
public abstract float BorderRightWidth { get; set; }

Property Value

float

BorderTopColor

Gets or sets the color of the top border when using individual border configuration.

Declaration

cs-api-definition
public abstract Color BorderTopColor { get; set; }

Property Value

Color

BorderTopShadowColor

Gets or sets the shadow color for the top border, providing visual depth effects.

Declaration

cs-api-definition
public abstract Color BorderTopShadowColor { get; set; }

Property Value

Color

BorderTopWidth

Gets or sets the width of the top border when using individual border configuration.

Declaration

cs-api-definition
public abstract float BorderTopWidth { get; set; }

Property Value

float

BorderWidth

Gets or sets the uniform width of all border sides when using single border configuration.

Declaration

cs-api-definition
public abstract float BorderWidth { get; set; }

Property Value

float

DrawBorder

Gets or sets a value indicating whether the element should render its border during painting operations.

Declaration

cs-api-definition
public abstract bool DrawBorder { get; set; }

Property Value

bool

DrawFill

Gets or sets a value indicating whether the element should render its background fill during painting operations.

Declaration

cs-api-definition
public abstract bool DrawFill { get; set; }

Property Value

bool

Implements IDrawFillElement.DrawFill

GradientAngle

Gets or sets the angle in degrees for gradient fill effects.

Declaration

cs-api-definition
public abstract float GradientAngle { get; set; }

Property Value

float

Implements IFillElement.GradientAngle

GradientPercentage

Gets or sets the first gradient percentage for controlling color distribution in gradient fill effects.

Declaration

cs-api-definition
public abstract float GradientPercentage { get; set; }

Property Value

float

Implements IFillElement.GradientPercentage

GradientPercentage2

Gets or sets the second gradient percentage for controlling color distribution in gradient fill effects.

Declaration

cs-api-definition
public abstract float GradientPercentage2 { get; set; }

Property Value

float

Implements IFillElement.GradientPercentage2

GradientStyle

Gets or sets the gradient style that determines how colors are blended in gradient fill effects.

Declaration

cs-api-definition
public abstract GradientStyles GradientStyle { get; set; }

Property Value

GradientStyles

Implements IFillElement.GradientStyle

NumberOfColors

Gets or sets the number of colors to use in gradient fill effects.

Declaration

cs-api-definition
public abstract int NumberOfColors { get; set; }

Property Value

int

Implements IFillElement.NumberOfColors

Methods

DisposeManagedResources()

Releases managed resources used by this element.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides RadItem.DisposeManagedResources()

GetBorderPaintRect(float, SizeF)

Calculates the rectangle area that should be used for painting the border of the element, considering border width and scaling factors.

Declaration

cs-api-definition
protected virtual RectangleF GetBorderPaintRect(float angle, SizeF scale)

Parameters

angle

float

The rotation angle in degrees to consider for rectangle calculation.

scale

SizeF

The scaling factors to consider for rectangle calculation.

Returns

RectangleF

A RectangleF representing the area where the border should be painted.

GetFillPaintRect(float, SizeF)

Calculates the rectangle area that should be used for painting the background fill of the element.

Declaration

cs-api-definition
protected virtual RectangleF GetFillPaintRect(float angle, SizeF scale)

Parameters

angle

float

The rotation angle in degrees to consider for rectangle calculation.

scale

SizeF

The scaling factors to consider for rectangle calculation.

Returns

RectangleF

A RectangleF representing the area where the background fill should be painted.

GetPaintingBorderWidth()

Gets the border width that should be used for painting operations, typically inherited from the parent element.

Declaration

cs-api-definition
public virtual float GetPaintingBorderWidth()

Returns

float

The border width in pixels, or 0 if no parent element is available.

OnBoundsChanged(RadPropertyChangedEventArgs)

Handles the bounds changed event by updating the fill primitive implementation and invoking the base class handler.

Declaration

cs-api-definition
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property change, including the old bounds value.

Overrides RadElement.OnBoundsChanged(RadPropertyChangedEventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

Handles property change events by invalidating the fill cache and invoking the base class property change handler.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property that changed.

Overrides RadItem.OnPropertyChanged(RadPropertyChangedEventArgs)

PaintBorder(IGraphics, float, SizeF)

Renders the border of the element using the specified graphics context, rotation angle, and scaling factor.

Declaration

cs-api-definition
protected virtual void PaintBorder(IGraphics graphics, float angle, SizeF scale)

Parameters

graphics

IGraphics

The graphics context used for painting operations.

angle

float

The rotation angle in degrees to apply during painting.

scale

SizeF

The scaling factors to apply for width and height during painting.

PaintBorder(IGraphics, float, SizeF, RectangleF)

Renders the border of the element within the specified rectangle using the provided graphics context, rotation angle, and scaling factor.

Declaration

cs-api-definition
protected virtual void PaintBorder(IGraphics graphics, float angle, SizeF scale, RectangleF preferedRectangle)

Parameters

graphics

IGraphics

The graphics context used for painting operations.

angle

float

The rotation angle in degrees to apply during painting.

scale

SizeF

The scaling factors to apply for width and height during painting.

preferedRectangle

RectangleF

The specific rectangle area where the border should be painted.

PaintFill(IGraphics, float, SizeF)

Renders the background fill of the element using the specified graphics context, rotation angle, and scaling factor.

Declaration

cs-api-definition
protected virtual void PaintFill(IGraphics graphics, float angle, SizeF scale)

Parameters

graphics

IGraphics

The graphics context used for painting operations.

angle

float

The rotation angle in degrees to apply during painting.

scale

SizeF

The scaling factors to apply for width and height during painting.

PaintFill(IGraphics, float, SizeF, RectangleF)

Renders the background fill of the element within the specified rectangle using the provided graphics context, rotation angle, and scaling factor.

Declaration

cs-api-definition
protected virtual void PaintFill(IGraphics graphics, float angle, SizeF scale, RectangleF prefferedRectangle)

Parameters

graphics

IGraphics

The graphics context used for painting operations.

angle

float

The rotation angle in degrees to apply during painting.

scale

SizeF

The scaling factors to apply for width and height during painting.

prefferedRectangle

RectangleF

The specific rectangle area where the background fill should be painted.

ShouldUsePaintBuffer()

Determines whether the element should use a paint buffer for rendering operations to improve performance.

Declaration

cs-api-definition
protected virtual bool ShouldUsePaintBuffer()

Returns

bool

True if a paint buffer should be used; otherwise, false. The default implementation returns the value of DrawFill.