Class UIItemBase
Base class for some RadItems, used in RadTreeView, RadPanelBar, RadCalendar, etc. Incorporates basic functionality for paiting gradient background and borders the same way FillPrimitive and BorderPrimitive do.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class UIItemBase : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement
Constructors
UIItemBase()
Declaration
protected UIItemBase()
Properties
BackColor2
Declaration
public abstract Color BackColor2 { get; set; }
Property Value
System.Drawing.Color
|
Implements
BackColor3
Declaration
public abstract Color BackColor3 { get; set; }
Property Value
System.Drawing.Color
|
Implements
BackColor4
Declaration
public abstract Color BackColor4 { get; set; }
Property Value
System.Drawing.Color
|
Implements
BorderBottomColor
Declaration
public abstract Color BorderBottomColor { get; set; }
Property Value
System.Drawing.Color
|
BorderBottomShadowColor
Declaration
public abstract Color BorderBottomShadowColor { get; set; }
Property Value
System.Drawing.Color
|
BorderBottomWidth
Declaration
public abstract float BorderBottomWidth { get; set; }
Property Value
System.Single
|
BorderBoxStyle
Declaration
public abstract BorderBoxStyle BorderBoxStyle { get; set; }
Property Value
BorderBoxStyle
|
BorderColor
Declaration
public abstract Color BorderColor { get; set; }
Property Value
System.Drawing.Color
|
BorderColor2
Declaration
public abstract Color BorderColor2 { get; set; }
Property Value
System.Drawing.Color
|
BorderColor3
Declaration
public abstract Color BorderColor3 { get; set; }
Property Value
System.Drawing.Color
|
BorderColor4
Declaration
public abstract Color BorderColor4 { get; set; }
Property Value
System.Drawing.Color
|
BorderDashPattern
Declaration
public abstract float[] BorderDashPattern { get; set; }
Property Value
System.Single[]
|
Implements
BorderDashStyle
Declaration
public abstract DashStyle BorderDashStyle { get; set; }
Property Value
System.Drawing.Drawing2D.DashStyle
|
Implements
BorderDrawMode
Declaration
public abstract BorderDrawModes BorderDrawMode { get; set; }
Property Value
BorderDrawModes
|
Implements
BorderGradientAngle
Declaration
public abstract float BorderGradientAngle { get; set; }
Property Value
System.Single
|
BorderGradientStyle
Declaration
public abstract GradientStyles BorderGradientStyle { get; set; }
Property Value
GradientStyles
|
BorderInnerColor
Declaration
public abstract Color BorderInnerColor { get; set; }
Property Value
System.Drawing.Color
|
BorderInnerColor2
Declaration
public abstract Color BorderInnerColor2 { get; set; }
Property Value
System.Drawing.Color
|
BorderInnerColor3
Declaration
public abstract Color BorderInnerColor3 { get; set; }
Property Value
System.Drawing.Color
|
BorderInnerColor4
Declaration
public abstract Color BorderInnerColor4 { get; set; }
Property Value
System.Drawing.Color
|
BorderLeftColor
Declaration
public abstract Color BorderLeftColor { get; set; }
Property Value
System.Drawing.Color
|
BorderLeftShadowColor
Declaration
public abstract Color BorderLeftShadowColor { get; set; }
Property Value
System.Drawing.Color
|
BorderLeftWidth
Declaration
public abstract float BorderLeftWidth { get; set; }
Property Value
System.Single
|
BorderRightColor
Declaration
public abstract Color BorderRightColor { get; set; }
Property Value
System.Drawing.Color
|
BorderRightShadowColor
Declaration
public abstract Color BorderRightShadowColor { get; set; }
Property Value
System.Drawing.Color
|
BorderRightWidth
Declaration
public abstract float BorderRightWidth { get; set; }
Property Value
System.Single
|
BorderTopColor
Declaration
public abstract Color BorderTopColor { get; set; }
Property Value
System.Drawing.Color
|
BorderTopShadowColor
Declaration
public abstract Color BorderTopShadowColor { get; set; }
Property Value
System.Drawing.Color
|
BorderTopWidth
Declaration
public abstract float BorderTopWidth { get; set; }
Property Value
System.Single
|
BorderWidth
Declaration
public abstract float BorderWidth { get; set; }
Property Value
System.Single
|
DrawBorder
Declaration
public abstract bool DrawBorder { get; set; }
Property Value
System.Boolean
|
DrawFill
Declaration
public abstract bool DrawFill { get; set; }
Property Value
System.Boolean
|
GradientAngle
Declaration
public abstract float GradientAngle { get; set; }
Property Value
System.Single
|
Implements
GradientPercentage
Declaration
public abstract float GradientPercentage { get; set; }
Property Value
System.Single
|
Implements
GradientPercentage2
Declaration
public abstract float GradientPercentage2 { get; set; }
Property Value
System.Single
|
Implements
GradientStyle
Declaration
public abstract GradientStyles GradientStyle { get; set; }
Property Value
GradientStyles
|
Implements
NumberOfColors
Declaration
public abstract int NumberOfColors { get; set; }
Property Value
System.Int32
|
Implements
Methods
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetBorderPaintRect(Single, SizeF)
Declaration
protected virtual RectangleF GetBorderPaintRect(float angle, SizeF scale)
Parameters
System.Single
angle
|
System.Drawing.SizeF
scale
|
Returns
System.Drawing.RectangleF
|
GetFillPaintRect(Single, SizeF)
Declaration
protected virtual RectangleF GetFillPaintRect(float angle, SizeF scale)
Parameters
System.Single
angle
|
System.Drawing.SizeF
scale
|
Returns
System.Drawing.RectangleF
|
GetPaintingBorderWidth()
Declaration
public virtual float GetPaintingBorderWidth()
Returns
System.Single
|
OnBoundsChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
PaintBorder(IGraphics, Single, SizeF)
Declaration
protected virtual void PaintBorder(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
PaintBorder(IGraphics, Single, SizeF, RectangleF)
Declaration
protected virtual void PaintBorder(IGraphics graphics, float angle, SizeF scale, RectangleF preferedRectangle)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
System.Drawing.RectangleF
preferedRectangle
|
PaintFill(IGraphics, Single, SizeF)
Declaration
protected virtual void PaintFill(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
PaintFill(IGraphics, Single, SizeF, RectangleF)
Declaration
protected virtual void PaintFill(IGraphics graphics, float angle, SizeF scale, RectangleF prefferedRectangle)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
System.Drawing.RectangleF
prefferedRectangle
|
ShouldUsePaintBuffer()
Declaration
protected virtual bool ShouldUsePaintBuffer()
Returns
System.Boolean
|
Explicit Interface Implementations
IBoxStyle.BottomColor
Declaration
Color IBoxStyle.BottomColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.BottomShadowColor
Declaration
Color IBoxStyle.BottomShadowColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.LeftColor
Declaration
Color IBoxStyle.LeftColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.LeftShadowColor
Declaration
Color IBoxStyle.LeftShadowColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.RightColor
Declaration
Color IBoxStyle.RightColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.RightShadowColor
Declaration
Color IBoxStyle.RightShadowColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.TopColor
Declaration
Color IBoxStyle.TopColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxStyle.TopShadowColor
Declaration
Color IBoxStyle.TopShadowColor { get; set; }
Returns
System.Drawing.Color
|
Implements
IBoxElement.BorderSize
Declaration
SizeF IBoxElement.BorderSize { get; }
Returns
System.Drawing.SizeF
|
Implements
IBoxElement.BottomWidth
Declaration
float IBoxElement.BottomWidth { get; set; }
Returns
System.Single
|
Implements
IBoxElement.HorizontalWidth
Declaration
float IBoxElement.HorizontalWidth { get; }
Returns
System.Single
|
Implements
IBoxElement.LeftWidth
Declaration
float IBoxElement.LeftWidth { get; set; }
Returns
System.Single
|
Implements
IBoxElement.Offset
Declaration
SizeF IBoxElement.Offset { get; }
Returns
System.Drawing.SizeF
|
Implements
IBoxElement.RightWidth
Declaration
float IBoxElement.RightWidth { get; set; }
Returns
System.Single
|
Implements
IBoxElement.TopWidth
Declaration
float IBoxElement.TopWidth { get; set; }
Returns
System.Single
|
Implements
IBoxElement.VerticalWidth
Declaration
float IBoxElement.VerticalWidth { get; }
Returns
System.Single
|
Implements
IBoxElement.Width
Declaration
float IBoxElement.Width { get; set; }
Returns
System.Single
|
Implements
IBorderElement.BoxStyle
IBorderElement.ForeColor
Declaration
Color IBorderElement.ForeColor { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.ForeColor2
Declaration
Color IBorderElement.ForeColor2 { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.ForeColor3
Declaration
Color IBorderElement.ForeColor3 { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.ForeColor4
Declaration
Color IBorderElement.ForeColor4 { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.GradientAngle
Declaration
float IBorderElement.GradientAngle { get; }
Returns
System.Single
|
Implements
IBorderElement.GradientStyle
IBorderElement.InnerColor
Declaration
Color IBorderElement.InnerColor { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.InnerColor2
Declaration
Color IBorderElement.InnerColor2 { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.InnerColor3
Declaration
Color IBorderElement.InnerColor3 { get; }
Returns
System.Drawing.Color
|
Implements
IBorderElement.InnerColor4
Declaration
Color IBorderElement.InnerColor4 { get; }
Returns
System.Drawing.Color
|
Implements
IPrimitiveElement.BorderThickness
Declaration
float IPrimitiveElement.BorderThickness { get; }
Returns
System.Single
|
Implements
IPrimitiveElement.GetExactPaintingRectangle(Single, SizeF)
Declaration
RectangleF IPrimitiveElement.GetExactPaintingRectangle(float angle, SizeF scale)
Parameters
System.Single
angle
|
System.Drawing.SizeF
scale
|
Returns
System.Drawing.RectangleF
|
Implements
IPrimitiveElement.GetPaintRectangle(Single, Single, SizeF)
Declaration
RectangleF IPrimitiveElement.GetPaintRectangle(float left, float angle, SizeF scale)
Parameters
System.Single
left
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Returns
System.Drawing.RectangleF
|
Implements
IPrimitiveElement.IsDesignMode
Declaration
bool IPrimitiveElement.IsDesignMode { get; }
Returns
System.Boolean
|
Implements
IPrimitiveElement.ShouldUsePaintBuffer()
Declaration
bool IPrimitiveElement.ShouldUsePaintBuffer()
Returns
System.Boolean
|