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.
|
DrawSignBorderProperty
DrawSignFillProperty
ExpandedChangedEvent
This event fires when the expanded state is changed.
Declaration
public static RoutedEvent ExpandedChangedEvent
Field Value
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.
|
DrawSignFill
Gets or sets a value indicating that the sign's fill must be drawn
Declaration
public bool DrawSignFill { get; set; }
Property Value
System.
|
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.
|
LinkLineColor
Gets or sets a value determining the color of the link lines
Declaration
public Color LinkLineColor { get; set; }
Property Value
System.
|
LinkLineStyle
Gets or sets a value determining the style of the link lines
Declaration
public DashStyle LinkLineStyle { get; set; }
Property Value
System.
|
LinkLineWidth
Gets or sets a value determining the width of the link lines
Declaration
public float LinkLineWidth { get; set; }
Property Value
System.
|
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
SignBackColor
Gets or sets sign's back color
Declaration
public virtual Color SignBackColor { get; set; }
Property Value
System.
|
SignBackColor2
Gets or sets sign's second back color
Declaration
public virtual Color SignBackColor2 { get; set; }
Property Value
System.
|
SignBackColor3
Gets or sets sign's third back color
Declaration
public virtual Color SignBackColor3 { get; set; }
Property Value
System.
|
SignBackColor4
Gets or sets sign's fourth back color
Declaration
public virtual Color SignBackColor4 { get; set; }
Property Value
System.
|
SignBorderColor
Gets or sets the sign's border color
Declaration
public virtual Color SignBorderColor { get; set; }
Property Value
System.
|
SignBorderPadding
Gets or sets the padding sizes of the border around the sign.
Declaration
public Padding SignBorderPadding { get; set; }
Property Value
System.
|
SignBorderWidth
Gets or sets the border width of the sign.
Declaration
public float SignBorderWidth { get; set; }
Property Value
System.
|
SignGradientAngle
Gets or sets the gradient angle of sign's background
Declaration
public virtual float SignGradientAngle { get; set; }
Property Value
System.
|
SignGradientPercentage
Gets or sets the gradient percentage of sign's background
Declaration
public virtual float SignGradientPercentage { get; set; }
Property Value
System.
|
SignGradientPercentage2
Gets or sets the second gradient percentage of sign's background
Declaration
public virtual float SignGradientPercentage2 { get; set; }
Property Value
System.
|
SignGradientStyle
Gets or sets the gradient style of sign's background
Declaration
public virtual GradientStyles SignGradientStyle { get; set; }
Property Value
SignImage
Gets or sets the sign image.
Declaration
public virtual Image SignImage { get; set; }
Property Value
System.
|
SignNumberOfColors
Gets or sets the number of colors used for drawing sign's background
Declaration
public virtual int SignNumberOfColors { get; set; }
Property Value
System.
|
SignPadding
Gets or sets the padding sizes of the sign.
Declaration
public Padding SignPadding { get; set; }
Property Value
System.
|
SignSize
Gets or sets the sign's size
Declaration
public virtual SizeF SignSize { get; set; }
Property Value
System.
|
SignStyle
Gets or sets the sign's style
Declaration
public virtual SignStyles SignStyle { get; set; }
Property Value
SignWidth
Gets or sets the width of the sign.
Declaration
public float SignWidth { get; set; }
Property Value
System.
|
SquareSignSize
Gets or sets a value indicating that the sign must maintain square size
Declaration
public virtual bool SquareSignSize { get; set; }
Property Value
System.
|
Methods
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DpiScaleChanged(SizeF)
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
IsPropertyCancelable(RadPropertyMetadata)
Declaration
protected override bool IsPropertyCancelable(RadPropertyMetadata metadata)
Parameters
Rad
|
Returns
System.
|
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
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. Rectangle containing sign bounds |
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|
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. 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. Rectangle containing sign bounds |
PaintSignImage(IGraphics, PointF, SizeF)
Declaration
protected void PaintSignImage(IGraphics g, PointF pos, SizeF sz)
Parameters
IGraphics
g
|
System.
|
System.
|
PaintSignLines(IGraphics, RectangleF, RectangleF)
Declaration
protected virtual void PaintSignLines(IGraphics g, RectangleF signRect, RectangleF signBorder)
Parameters
IGraphics
g
|
System.
|
System.
|
PaintSignShape(IGraphics, RectangleF)
Declaration
protected void PaintSignShape(IGraphics g, RectangleF signRect)
Parameters
IGraphics
g
|
System.
|
ToggleExpanded()
Declaration
protected virtual void ToggleExpanded()
UpdateSignImage(Image)
Declaration
protected virtual void UpdateSignImage(Image newImage)
Parameters
System.
|