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.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax:
public abstract class UIItemBase : RadItem , INotifyPropertyChanged , ICustomTypeDescriptor , ISupportSystemSkin , IBindableComponent , IComponent , IDisposable , ISupportDrag , ISupportDrop , IShortcutProvider , IStylableElement , IStylableNode , IPrimitiveElement , IShapedElement , IFillElement , IBorderElement , IBoxStyle , IBoxElement , IDrawFillElement
Inheritance:
object DisposableObject RadObject RadElement VisualElement RadComponentElement RadItem UIItemBase
Derived Classes:
LightVisualElement
Implements:
IBindableComponent IBorderElement IBoxElement IBoxStyle IComponent ICustomTypeDescriptor IDisposable IDrawFillElement IFillElement INotifyPropertyChanged IPrimitiveElement IShapedElement IShortcutProvider IStylableElement IStylableNode ISupportDrag ISupportDrop ISupportSystemSkin Show more
Inherited Members
RadItem.KeyDownEvent RadItem.KeyPressEvent RadItem.KeyUpEvent RadItem.FocusCommand RadItem.ActionCommand RadItem.UseDefaultDisabledPaintProperty RadItem.TextProperty RadItem.TextOrientationProperty RadItem.FlipTextProperty RadItem.IsAddNewItemProperty RadItem.ToolTipTextProperty RadItem.EnableElementShadowProperty RadItem.ShadowDepthProperty RadItem.ShadowColorProperty RadItem.IsPaintingRipple RadItem.EnableRippleAnimationProperty RadItem.RippleAnimationColorProperty RadItem.EnableFocusBorderProperty RadItem.FocusBorderColorProperty RadItem.FocusBorderWidthProperty RadItem.EnableFocusBorderAnimationProperty RadItem.EnableHighlightProperty RadItem.HighlightColorProperty RadItem.EnableBorderHighlightProperty RadItem.BorderHighlightColorProperty RadItem.BorderHighlightThicknessProperty RadItem.VisualStateProperty RadItem.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.UseDefaultDisabledPaint RadItem.TextOrientation RadItem.FlipText RadItem.CanHaveOwnStyle RadItem.Text RadItem.Selectable RadItem.DefaultAutoToolTip RadItem.ShouldHandleMouseInput RadItem.KeyTip RadItem.ParentItem RadItem.ShortcutsHandler RadItem.EnableElementShadow RadItem.ShadowDepth RadItem.ShadowColor RadItem.EnableRippleAnimation RadItem.RippleAnimationColor RadItem.EnableFocusBorder RadItem.FocusBorderColor RadItem.FocusBorderWidth RadItem.EnableFocusBorderAnimation RadItem.EnableHighlight RadItem.HighlightColor RadItem.EnableBorderHighlight RadItem.BorderHighlightColor RadItem.BorderHighlightThickness RadItem.MnemonicText RadItem.ToolTipText RadItem.ThemeRole RadItem.VisualState RadItem.StateManager RadItem.AllowDrag RadItem.AllowDrop RadItem.Shortcuts RadItem.AccessibleDescription RadItem.AccessibleName RadItem.AccessibleRole RadItem.TextChanging RadItem.TextChanged RadItem.TextOrientationChanged RadItem.FlipTextChanged RadItem.QueryAccessibilityHelp RadItem.KeyDown RadItem.KeyPress RadItem.KeyUp RadItem.ZoomGesture RadItem.RotateGesture RadItem.PanGesture RadItem.TwoFingerTapGesture RadItem.PressAndTapGesture RadComponentElement.ToString() RadComponentElement.GetService(Type) RadComponentElement.CanRaiseEvents RadComponentElement.Container RadComponentElement.DesignMode RadComponentElement.Site RadComponentElement.DataBindings VisualElement.DefaultSizeProperty VisualElement.ForeColorProperty VisualElement.BackColorProperty VisualElement.FontProperty VisualElement.SmoothingModeProperty VisualElement.OpacityProperty VisualElement.CustomFontProperty VisualElement.CustomFontSizeProperty VisualElement.CustomFontStyleProperty VisualElement.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.DefaultSize VisualElement.ForeColor VisualElement.BackColor VisualElement.Font VisualElement.CustomFont VisualElement.CustomFontSize VisualElement.CustomFontStyle VisualElement.SmoothingMode VisualElement.Opacity VisualElement.FontChanged RadElement.BoundsProperty RadElement.BorderThicknessProperty RadElement.PaddingProperty RadElement.MarginProperty RadElement.AlignmentProperty RadElement.AutoSizeModeProperty RadElement.FitToSizeModeProperty RadElement.MinSizeProperty RadElement.EnabledProperty RadElement.CanFocusProperty RadElement.IsItemFocusedProperty RadElement.IsFocusedProperty RadElement.IsMouseOverProperty RadElement.IsMouseOverElementProperty RadElement.IsMouseDownProperty RadElement.ShouldPaintProperty RadElement.VisibilityProperty RadElement.NameProperty RadElement.ClassProperty RadElement.ClipDrawingProperty RadElement.ShapeProperty RadElement.MouseClickedEvent RadElement.MouseDoubleClickedEvent RadElement.MouseDownEvent RadElement.MouseUpEvent RadElement.MouseWheelEvent RadElement.ChildElementAddedEvent RadElement.ParentChangedEvent RadElement.BoundsChangedEvent RadElement.VisibilityChangingEvent RadElement.EnabledChangedEvent RadElement.ControlChangedEvent RadElement.BackgroundShapeProperty RadElement.BackgroundShapePaintModeProperty RadElement.ContainsFocusProperty RadElement.ContainsMouseProperty RadElement.MaxSizeProperty RadElement.RightToLeftProperty RadElement.AutoSizeProperty RadElement.ZIndexProperty RadElement.AngleTransformProperty RadElement.ScaleTransformProperty RadElement.PositionOffsetProperty RadElement.TagProperty RadElement.StretchHorizontallyProperty RadElement.StretchVerticallyProperty RadElement.UseCompatibleTextRenderingProperty RadElement.ClickModeProperty RadElement.styleVersion RadElement.paintSystemSkin RadElement.SetPropertyValueCommand RadElement.GetPropertyValueCommand RadElement.StyleProperty RadElement.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.ElementState RadElement.DesiredSize RadElement.IsLayoutSuspended RadElement.BoundingRectangle RadElement.ControlBoundingRectangle RadElement.BypassLayoutPolicies RadElement.IsArrangeValid RadElement.IsMeasureValid RadElement.TreeLevel RadElement.Transform RadElement.TotalTransform RadElement.ShouldPaintUsingParentShape RadElement.UseSystemSkin RadElement.PropagateStyleToChildren RadElement.ThemeEffectiveType RadElement.ElementTree RadElement.Children RadElement.ChildrenHierarchy RadElement.Parent RadElement.RoutedEventBehaviors RadElement.LayoutableChildrenCount RadElement.ContainsFocus RadElement.NotifyParentOnMouseInput RadElement.IsAbleToRespondToMouseEvents RadElement.AutoSize RadElement.Bounds RadElement.Location RadElement.Size RadElement.BorderThickness RadElement.Padding RadElement.Margin RadElement.Alignment RadElement.AutoSizeMode RadElement.FitToSizeMode RadElement.Enabled RadElement.CanFocus RadElement.IsFocused RadElement.IsMouseOver RadElement.IsMouseOverElement RadElement.IsMouseDown RadElement.InvalidateChildrenOnChildChanged RadElement.ShouldPaint RadElement.Visibility RadElement.IsElementVisible RadElement.Name RadElement.Class RadElement.ClipDrawing RadElement.Shape RadElement.MinSize RadElement.MaxSize RadElement.ZIndex RadElement.RightToLeft RadElement.UseCompatibleTextRendering RadElement.BackgroundShape RadElement.BackgroundShapePaintMode RadElement.ContainsMouse RadElement.Capture RadElement.ScaleTransform RadElement.AngleTransform RadElement.PositionOffset RadElement.SerializeProperties RadElement.SerializeElement RadElement.SerializeChildren RadElement.RenderingMaxFramerate RadElement.IsThemeApplied RadElement.ShouldApplyTheme RadElement.UseCenteredAngleTransform RadElement.Tag RadElement.StretchHorizontally RadElement.StretchVertically RadElement.ClickMode RadElement.DoubleClickEnabled RadElement.CaptureOnMouseDown RadElement.IsItemHovered RadElement.Style RadElement.AutoToolTip RadElement.ScreenTip RadElement.AutoNumberKeyTip RadElement.DpiScaleFactor RadElement.LayoutUpdated RadElement.MouseHover RadElement.MouseMove RadElement.MouseDown RadElement.MouseUp RadElement.Click RadElement.DoubleClick RadElement.MouseEnter RadElement.MouseWheel RadElement.EnabledChanged RadElement.MouseLeave RadElement.ChildrenChanged RadElement.LostMouseCapture RadObject.BindingContextProperty RadObject.RadType RadObject.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.PropertyValues RadObject.PropertyFilter RadObject.RadObjectType RadObject.BindingContext RadObject.PropertyChanged RadObject.RadPropertyChanged RadObject.RadPropertyChanging DisposableObject.GetBitState(long) DisposableObject.SetBitState(long, bool) DisposableObject.OnBitStateChanged(long, bool, bool) DisposableObject.Dispose() DisposableObject.Dispose(bool) DisposableObject.DisposeUnmanagedResources() DisposableObject.BitState DisposableObject.Events DisposableObject.IsDisposing DisposableObject.IsDisposed DisposableObject.Disposed DisposableObject.Disposing Show more
Initializes a new instance of the UIItemBase class with default settings.
Gets or sets the second color used in gradient fill effects.
Gets or sets the third color used in multi-color gradient fill effects.
Gets or sets the fourth color used in multi-color gradient fill effects.
Gets or sets the color of the bottom border when using individual border configuration.
Declaration
public abstract Color BorderBottomColor { get ; set ; }
Property Value
Color
Gets or sets the shadow color for the bottom border, providing visual depth effects.
Declaration
public abstract Color BorderBottomShadowColor { get ; set ; }
Property Value
Color
Gets or sets the width of the bottom border when using individual border configuration.
Declaration
public abstract float BorderBottomWidth { get ; set ; }
Property Value
float
Gets or sets the border box style that determines how the border is rendered and configured.
Declaration
public abstract BorderBoxStyle BorderBoxStyle { get ; set ; }
Property Value
BorderBoxStyle
Gets or sets the primary border color used for solid borders or as the first color in gradient border effects.
Declaration
public abstract Color BorderColor { get ; set ; }
Property Value
Color
Gets or sets the second color used in gradient border effects.
Declaration
public abstract Color BorderColor2 { get ; set ; }
Property Value
Color
Gets or sets the third color used in multi-color gradient border effects.
Declaration
public abstract Color BorderColor3 { get ; set ; }
Property Value
Color
Gets or sets the fourth color used in multi-color gradient border effects.
Declaration
public abstract Color BorderColor4 { get ; set ; }
Property Value
Color
Gets or sets the custom dash pattern for border lines when using custom dash styles.
Gets or sets the dash style for border lines, determining whether borders are solid, dashed, dotted, etc.
Gets or sets the border drawing mode that controls the order in which border lines are drawn when using four borders.
Gets or sets the angle in degrees for gradient border effects.
Declaration
public abstract float BorderGradientAngle { get ; set ; }
Property Value
float
Gets or sets the gradient style used for rendering gradient border effects.
Declaration
public abstract GradientStyles BorderGradientStyle { get ; set ; }
Property Value
GradientStyles
Gets or sets the primary inner border color used in composite border styles.
Declaration
public abstract Color BorderInnerColor { get ; set ; }
Property Value
Color
Gets or sets the second inner border color used in gradient inner border effects.
Declaration
public abstract Color BorderInnerColor2 { get ; set ; }
Property Value
Color
Gets or sets the third inner border color used in multi-color gradient inner border effects.
Declaration
public abstract Color BorderInnerColor3 { get ; set ; }
Property Value
Color
Gets or sets the fourth inner border color used in multi-color gradient inner border effects.
Declaration
public abstract Color BorderInnerColor4 { get ; set ; }
Property Value
Color
Gets or sets the color of the left border when using individual border configuration.
Declaration
public abstract Color BorderLeftColor { get ; set ; }
Property Value
Color
Gets or sets the shadow color for the left border, providing visual depth effects.
Declaration
public abstract Color BorderLeftShadowColor { get ; set ; }
Property Value
Color
Gets or sets the width of the left border when using individual border configuration.
Declaration
public abstract float BorderLeftWidth { get ; set ; }
Property Value
float
Gets or sets the color of the right border when using individual border configuration.
Declaration
public abstract Color BorderRightColor { get ; set ; }
Property Value
Color
Gets or sets the shadow color for the right border, providing visual depth effects.
Declaration
public abstract Color BorderRightShadowColor { get ; set ; }
Property Value
Color
Gets or sets the width of the right border when using individual border configuration.
Declaration
public abstract float BorderRightWidth { get ; set ; }
Property Value
float
Gets or sets the color of the top border when using individual border configuration.
Declaration
public abstract Color BorderTopColor { get ; set ; }
Property Value
Color
Gets or sets the shadow color for the top border, providing visual depth effects.
Declaration
public abstract Color BorderTopShadowColor { get ; set ; }
Property Value
Color
Gets or sets the width of the top border when using individual border configuration.
Declaration
public abstract float BorderTopWidth { get ; set ; }
Property Value
float
Gets or sets the uniform width of all border sides when using single border configuration.
Declaration
public abstract float BorderWidth { get ; set ; }
Property Value
float
Gets or sets a value indicating whether the element should render its border during painting operations.
Declaration
public abstract bool DrawBorder { get ; set ; }
Property Value
bool
Gets or sets a value indicating whether the element should render its background fill during painting operations.
Declaration
public abstract bool DrawFill { get ; set ; }
Property Value
bool
Implements
IDrawFillElement.DrawFill
Gets or sets the angle in degrees for gradient fill effects.
Gets or sets the first gradient percentage for controlling color distribution in gradient fill effects.
Gets or sets the second gradient percentage for controlling color distribution in gradient fill effects.
Gets or sets the gradient style that determines how colors are blended in gradient fill effects.
Gets or sets the number of colors to use in gradient fill effects.
Releases managed resources used by this element.
Calculates the rectangle area that should be used for painting the border of the element, considering border width and scaling factors.
Declaration
protected virtual RectangleF GetBorderPaintRect ( float angle, SizeF scale)
Parameters
float
The rotation angle in degrees to consider for rectangle calculation.
SizeF
The scaling factors to consider for rectangle calculation.
Returns
RectangleF
A RectangleF representing the area where the border should be painted.
Calculates the rectangle area that should be used for painting the background fill of the element.
Declaration
protected virtual RectangleF GetFillPaintRect ( float angle, SizeF scale)
Parameters
float
The rotation angle in degrees to consider for rectangle calculation.
SizeF
The scaling factors to consider for rectangle calculation.
Returns
RectangleF
A RectangleF representing the area where the background fill should be painted.
Gets the border width that should be used for painting operations, typically inherited from the parent element.
Declaration
public virtual float GetPaintingBorderWidth ( )
Returns
float
The border width in pixels, or 0 if no parent element is available.
Handles the bounds changed event by updating the fill primitive implementation and invoking the base class handler.
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Renders the border of the element using the specified graphics context, rotation angle, and scaling factor.
Declaration
protected virtual void PaintBorder ( IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
The graphics context used for painting operations.
float
The rotation angle in degrees to apply during painting.
SizeF
The scaling factors to apply for width and height during painting.
Renders the border of the element within the specified rectangle using the provided graphics context, rotation angle, and scaling factor.
Declaration
protected virtual void PaintBorder ( IGraphics graphics, float angle, SizeF scale, RectangleF preferedRectangle)
Parameters
IGraphics
The graphics context used for painting operations.
float
The rotation angle in degrees to apply during painting.
SizeF
The scaling factors to apply for width and height during painting.
RectangleF
The specific rectangle area where the border should be painted.
Renders the background fill of the element using the specified graphics context, rotation angle, and scaling factor.
Declaration
protected virtual void PaintFill ( IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
The graphics context used for painting operations.
float
The rotation angle in degrees to apply during painting.
SizeF
The scaling factors to apply for width and height during painting.
Renders the background fill of the element within the specified rectangle using the provided graphics context, rotation angle, and scaling factor.
Declaration
protected virtual void PaintFill ( IGraphics graphics, float angle, SizeF scale, RectangleF prefferedRectangle)
Parameters
IGraphics
The graphics context used for painting operations.
float
The rotation angle in degrees to apply during painting.
SizeF
The scaling factors to apply for width and height during painting.
RectangleF
The specific rectangle area where the background fill should be painted.
Determines whether the element should use a paint buffer for rendering operations to improve performance.
Declaration
protected virtual bool ShouldUsePaintBuffer ( )
Returns
bool
True if a paint buffer should be used; otherwise, false. The default implementation returns the value of DrawFill .