Class ExpanderItem
Represents an expander that is drawn in expander cells
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ExpanderItem : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
ExpanderItem()
Fields
cachedSignImage
Declaration
protected Image cachedSignImage
Field Value
System.Drawing.Image
|
DrawSignBorderProperty
DrawSignFillProperty
ExpandedChangedEvent
This event fires when the expanded state is changed.
Declaration
public static RoutedEvent ExpandedChangedEvent
Field Value
RoutedEvent
|
ExpandedProperty
LinkLineColorProperty
LinkLineStyleProperty
LinkLineWidthProperty
LinkOrientationProperty
SignBackColor2Property
SignBackColor3Property
SignBackColor4Property
SignBackColorProperty
SignBorderColorProperty
SignBorderPaddingProperty
SignBorderWidthProperty
SignGradientAngleProperty
SignGradientPercentage2Property
SignGradientPercentageProperty
SignGradientStyleProperty
SignImageProperty
SignNumberOfColorsProperty
SignPaddingProperty
SignSizeProperty
SignStyleProperty
SignWidthProperty
SquareSignSizeProperty
Properties
DrawSignBorder
Gets or sets a value indicating that the sign's border must be drawn
Declaration
public bool DrawSignBorder { get; set; }
Property Value
System.Boolean
|
DrawSignFill
Gets or sets a value indicating that the sign's fill must be drawn
Declaration
public bool DrawSignFill { get; set; }
Property Value
System.Boolean
|
Expanded
Gets or sets a value indicating whether the sign is in expanded or collapsed state
Declaration
public virtual bool Expanded { get; set; }
Property Value
System.Boolean
|
LinkLineColor
Gets or sets a value determining the color of the link lines
Declaration
public Color LinkLineColor { get; set; }
Property Value
System.Drawing.Color
|
LinkLineStyle
Gets or sets a value determining the style of the link lines
Declaration
public DashStyle LinkLineStyle { get; set; }
Property Value
System.Drawing.Drawing2D.DashStyle
|
LinkLineWidth
Gets or sets a value determining the width of the link lines
Declaration
public float LinkLineWidth { get; set; }
Property Value
System.Single
|
LinkOrientation
Gets or sets a value detemining the link lines that be rendered around the expander sign
Declaration
public ExpanderItem.LinkLineOrientation LinkOrientation { get; set; }
Property Value
ExpanderItem.LinkLineOrientation
|
SignBackColor
Gets or sets sign's back color
Declaration
public virtual Color SignBackColor { get; set; }
Property Value
System.Drawing.Color
|
SignBackColor2
Gets or sets sign's second back color
Declaration
public virtual Color SignBackColor2 { get; set; }
Property Value
System.Drawing.Color
|
SignBackColor3
Gets or sets sign's third back color
Declaration
public virtual Color SignBackColor3 { get; set; }
Property Value
System.Drawing.Color
|
SignBackColor4
Gets or sets sign's fourth back color
Declaration
public virtual Color SignBackColor4 { get; set; }
Property Value
System.Drawing.Color
|
SignBorderColor
Gets or sets the sign's border color
Declaration
public virtual Color SignBorderColor { get; set; }
Property Value
System.Drawing.Color
|
SignBorderPadding
Gets or sets the padding sizes of the border around the sign.
Declaration
public Padding SignBorderPadding { get; set; }
Property Value
System.Windows.Forms.Padding
|
SignBorderWidth
Gets or sets the border width of the sign.
Declaration
public float SignBorderWidth { get; set; }
Property Value
System.Single
|
SignGradientAngle
Gets or sets the gradient angle of sign's background
Declaration
public virtual float SignGradientAngle { get; set; }
Property Value
System.Single
|
SignGradientPercentage
Gets or sets the gradient percentage of sign's background
Declaration
public virtual float SignGradientPercentage { get; set; }
Property Value
System.Single
|
SignGradientPercentage2
Gets or sets the second gradient percentage of sign's background
Declaration
public virtual float SignGradientPercentage2 { get; set; }
Property Value
System.Single
|
SignGradientStyle
Gets or sets the gradient style of sign's background
Declaration
public virtual GradientStyles SignGradientStyle { get; set; }
Property Value
GradientStyles
|
SignImage
Gets or sets the sign image.
Declaration
public virtual Image SignImage { get; set; }
Property Value
System.Drawing.Image
|
SignNumberOfColors
Gets or sets the number of colors used for drawing sign's background
Declaration
public virtual int SignNumberOfColors { get; set; }
Property Value
System.Int32
|
SignPadding
Gets or sets the padding sizes of the sign.
Declaration
public Padding SignPadding { get; set; }
Property Value
System.Windows.Forms.Padding
|
SignSize
Gets or sets the sign's size
Declaration
public virtual SizeF SignSize { get; set; }
Property Value
System.Drawing.SizeF
|
SignStyle
Gets or sets the sign's style
Declaration
public virtual SignStyles SignStyle { get; set; }
Property Value
SignStyles
|
SignWidth
Gets or sets the width of the sign.
Declaration
public float SignWidth { get; set; }
Property Value
System.Single
|
SquareSignSize
Gets or sets a value indicating that the sign must maintain square size
Declaration
public virtual bool SquareSignSize { get; set; }
Property Value
System.Boolean
|
Methods
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DpiScaleChanged(SizeF)
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.Drawing.SizeF
scaleFactor
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
IsPropertyCancelable(RadPropertyMetadata)
Declaration
protected override bool IsPropertyCancelable(RadPropertyMetadata metadata)
Parameters
RadPropertyMetadata
metadata
|
Returns
System.Boolean
|
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
PaintBorder(IGraphics, RectangleF)
Paint the sign's border
Declaration
protected virtual void PaintBorder(IGraphics g, RectangleF signBorder)
Parameters
IGraphics
g
The IGraphics to use for painting the sign's border |
System.Drawing.RectangleF
signBorder
Rectangle containing sign bounds |
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
PaintFill(IGraphics, Rectangle)
Paints the sign's fill
Declaration
protected virtual void PaintFill(IGraphics g, Rectangle rect)
Parameters
IGraphics
g
The IGraphics to use for painting the sign's fill |
System.Drawing.Rectangle
rect
Rectangle containing sign bounds |
PaintSign(IGraphics, RectangleF)
Paints the sign
Declaration
protected virtual void PaintSign(IGraphics g, RectangleF signRect)
Parameters
IGraphics
g
The IGraphics to use fo painting the sign |
System.Drawing.RectangleF
signRect
Rectangle containing sign bounds |
PaintSignImage(IGraphics, PointF, SizeF)
Declaration
protected void PaintSignImage(IGraphics g, PointF pos, SizeF sz)
Parameters
IGraphics
g
|
System.Drawing.PointF
pos
|
System.Drawing.SizeF
sz
|
PaintSignLines(IGraphics, RectangleF, RectangleF)
Declaration
protected virtual void PaintSignLines(IGraphics g, RectangleF signRect, RectangleF signBorder)
Parameters
IGraphics
g
|
System.Drawing.RectangleF
signRect
|
System.Drawing.RectangleF
signBorder
|
PaintSignShape(IGraphics, RectangleF)
Declaration
protected void PaintSignShape(IGraphics g, RectangleF signRect)
Parameters
IGraphics
g
|
System.Drawing.RectangleF
signRect
|
ToggleExpanded()
Declaration
protected virtual void ToggleExpanded()
UpdateSignImage(Image)
Declaration
protected virtual void UpdateSignImage(Image newImage)
Parameters
System.Drawing.Image
newImage
|