Class LightVisualElement
A light visual element supporting text, border, image, BackColor and ForeColor with different layout adjustments.
"http://www.telerik.com/help/winforms/tpf-primitives-lightvisualelement.html"
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LightVisualElement : UIItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
LightVisualElement()
Declaration
public LightVisualElement()
Fields
BackColor2Property
BackColor3Property
BackColor4Property
BackgroundImageLayoutProperty
BackgroundImageProperty
BorderBottomColorProperty
BorderBottomShadowColorProperty
BorderBottomWidthProperty
BorderBoxStyleProperty
BorderColor2Property
BorderColor3Property
BorderColor4Property
BorderColorProperty
BorderDashPatternProperty
BorderDashStyleProperty
BorderDrawModeProperty
BorderGradientAngleProperty
BorderGradientStyleProperty
BorderInnerColor2Property
BorderInnerColor3Property
BorderInnerColor4Property
BorderInnerColorProperty
BorderLeftColorProperty
BorderLeftShadowColorProperty
BorderLeftWidthProperty
BorderRightColorProperty
BorderRightShadowColorProperty
BorderRightWidthProperty
BorderTopColorProperty
BorderTopShadowColorProperty
BorderTopWidthProperty
BorderWidthProperty
ClipTextProperty
DisabledTextRenderingHintProperty
DrawBackgroundImageProperty
DrawBorderProperty
DrawFillProperty
DrawImageProperty
DrawTextProperty
EnableImageTransparencyProperty
GradientAngleProperty
GradientPercentage2Property
GradientPercentageProperty
GradientStyleProperty
HorizontalLineColorProperty
HorizontalLineWidthProperty
ImageAlignmentProperty
ImageIndexProperty
ImageKeyProperty
ImageLayoutProperty
ImageOpacityProperty
ImageProperty
ImageTransparentColorProperty
NumberOfColorsProperty
ShowHorizontalLineProperty
SvgImageProperty
TextAlignmentProperty
TextImageRelationProperty
TextRenderingHintProperty
TextWrapProperty
Properties
AutoEllipsis
Determines whether character trimming will be automatically applied to the element if text cannot be fitted within the available space.
Declaration
public bool AutoEllipsis { get; set; }
Property Value
System.Boolean
|
Implements
BackColor2
Declaration
[RadPropertyDefaultValue("BackColor2", typeof(LightVisualElement))]
public override Color BackColor2 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BackColor3
Declaration
[RadPropertyDefaultValue("BackColor3", typeof(LightVisualElement))]
public override Color BackColor3 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BackColor4
Declaration
[RadPropertyDefaultValue("BackColor4", typeof(LightVisualElement))]
public override Color BackColor4 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BackgroundImage
Declaration
[RadPropertyDefaultValue("BackgroundImage", typeof(LightVisualElement))]
public virtual Image BackgroundImage { get; set; }
Property Value
System.Drawing.Image
|
BackgroundImageLayout
Declaration
public virtual ImageLayout BackgroundImageLayout { get; set; }
Property Value
System.Windows.Forms.ImageLayout
|
BorderBottomColor
Gets and sets the bottom border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the bottom border.
Declaration
[RadPropertyDefaultValue("BorderBottomColor", typeof(LightVisualElement))]
public override Color BorderBottomColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderBottomShadowColor
Gets and sets the bottom shadow color. This option applies only if fourBorders is chosen, and affects only the bottom border.
Declaration
[RadPropertyDefaultValue("BorderBottomShadowColor", typeof(LightVisualElement))]
public override Color BorderBottomShadowColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderBottomWidth
Gets or sets a float value width. This property has effect only if FourBorders style is used in BoxStyle property, and affects only the bottom border.
Declaration
[RadPropertyDefaultValue("BorderBottomWidth", typeof(LightVisualElement))]
public override float BorderBottomWidth { get; set; }
Property Value
System.Single
|
Overrides
BorderBoxStyle
Gets or sets the Border style. The two possible values are SingleBorder and FourBorder. In the single border case, all four sides share the same appearance although the entire border may have gradient. In four border case, each of the four sides may differ in appearance. For example, the left border may have different color, shadow-color, and width from the rest. When SingleBorder is chosen, you should use the general properties such as width and color, and respectively, when the FourBorder style is chosen you should use properties prefixed with the corresponding side, for example, LeftColor, LeftWidth for the left side.
Declaration
[RadPropertyDefaultValue("BorderBoxStyle", typeof(LightVisualElement))]
public override BorderBoxStyle BorderBoxStyle { get; set; }
Property Value
BorderBoxStyle
|
Overrides
BorderColor
Declaration
[RadPropertyDefaultValue("BorderColor", typeof(LightVisualElement))]
public override Color BorderColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderColor2
Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderColor2", typeof(LightVisualElement))]
public override Color BorderColor2 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderColor3
Gets or sets color used by radial, glass, office glass, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderColor3", typeof(LightVisualElement))]
public override Color BorderColor3 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderColor4
Gets or sets color used by radial, glass, office glass, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderColor4", typeof(LightVisualElement))]
public override Color BorderColor4 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderDashPattern
Specifies the style of dashed lines drawn with a border.
Declaration
[RadPropertyDefaultValue("BorderDashPattern", typeof(LightVisualElement))]
public override float[] BorderDashPattern { get; set; }
Property Value
System.Single[]
|
Overrides
BorderDashStyle
Specifies the style of dashed lines drawn with a border.
Declaration
[RadPropertyDefaultValue("BorderDashStyle", typeof(LightVisualElement))]
public override DashStyle BorderDashStyle { get; set; }
Property Value
System.Drawing.Drawing2D.DashStyle
|
Overrides
BorderDrawMode
Defines the order in which border lines are drawn. This property is considered when the BorderBoxStyle is FourBorders.
Declaration
[RadPropertyDefaultValue("BorderDrawMode", typeof(LightVisualElement))]
public override BorderDrawModes BorderDrawMode { get; set; }
Property Value
BorderDrawModes
|
Overrides
BorderGradientAngle
Gets or sets gradient angle for linear gradient measured in degrees.
Declaration
[RadPropertyDefaultValue("BorderGradientAngle", typeof(LightVisualElement))]
public override float BorderGradientAngle { get; set; }
Property Value
System.Single
|
Overrides
BorderGradientStyle
Gets or sets gradient style. Possible styles are solid, linear, radial, glass, office glass, gel, and vista.
Declaration
[RadPropertyDefaultValue("BorderGradientStyle", typeof(LightVisualElement))]
public override GradientStyles BorderGradientStyle { get; set; }
Property Value
GradientStyles
|
Overrides
BorderInnerColor
Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderInnerColor", typeof(LightVisualElement))]
public override Color BorderInnerColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderInnerColor2
Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderInnerColor2", typeof(LightVisualElement))]
public override Color BorderInnerColor2 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderInnerColor3
Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderInnerColor3", typeof(LightVisualElement))]
public override Color BorderInnerColor3 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderInnerColor4
Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.
Declaration
[RadPropertyDefaultValue("BorderInnerColor4", typeof(LightVisualElement))]
public override Color BorderInnerColor4 { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderLeftColor
Gets and sets the left border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the left border.
Declaration
[RadPropertyDefaultValue("BorderLeftColor", typeof(LightVisualElement))]
public override Color BorderLeftColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderLeftShadowColor
Gets and sets the left shadow color. This option applies only if fourBorders is chosen, and affects only the left border.
Declaration
[RadPropertyDefaultValue("BorderLeftShadowColor", typeof(LightVisualElement))]
public override Color BorderLeftShadowColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderLeftWidth
Gets or sets a float value width of the left border. This property has effect only if FourBorders style is used in BoxStyle property and affects only the width of the left border.
Declaration
[RadPropertyDefaultValue("BorderLeftWidth", typeof(LightVisualElement))]
public override float BorderLeftWidth { get; set; }
Property Value
System.Single
|
Overrides
BorderRightColor
Gets and sets the right border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the right border.
Declaration
[RadPropertyDefaultValue("BorderRightColor", typeof(LightVisualElement))]
public override Color BorderRightColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderRightShadowColor
Gets and sets the right shadow color. This option applies only if fourBorders is chosen, and affects only the right border.
Declaration
[RadPropertyDefaultValue("BorderRightShadowColor", typeof(LightVisualElement))]
public override Color BorderRightShadowColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderRightWidth
Gets or sets a float value width of the right border. This property has effect only if FourBorders style is used in BoxStyle property, and affects only the right border.
Declaration
[RadPropertyDefaultValue("BorderRightWidth", typeof(LightVisualElement))]
public override float BorderRightWidth { get; set; }
Property Value
System.Single
|
Overrides
BorderTopColor
Gets and sets the top border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the top border.
Declaration
[RadPropertyDefaultValue("BorderTopColor", typeof(LightVisualElement))]
public override Color BorderTopColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderTopShadowColor
Gets and sets the top shadow color. This option applies only if fourBorders is chosen, and affects only the top border.
Declaration
[RadPropertyDefaultValue("BorderTopShadowColor", typeof(LightVisualElement))]
public override Color BorderTopShadowColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
BorderTopWidth
Gets or sets a float value width of the top border . This property has effect only if FourBorders style is used in BoxStyle property, and affects only the top border.
Declaration
[RadPropertyDefaultValue("BorderTopWidth", typeof(LightVisualElement))]
public override float BorderTopWidth { get; set; }
Property Value
System.Single
|
Overrides
BorderWidth
Gets or sets a float value width of the border. This property has effect only if SingleBorder style is used in BoxStyle property and affects the width of the all sides of the border.
Declaration
[RadPropertyDefaultValue("BorderWidth", typeof(LightVisualElement))]
public override float BorderWidth { get; set; }
Property Value
System.Single
|
Overrides
CanFocus
Declaration
public override bool CanFocus { get; set; }
Property Value
System.Boolean
|
Overrides
CheckDrawBorderOnMeasure
Determines whether to check DrawBorder when calculating the DesiredSize of this element.
Declaration
public virtual bool CheckDrawBorderOnMeasure { get; set; }
Property Value
System.Boolean
|
ClipText
Determines whether text will be clipped within the calculated text paint rectangle.
Declaration
[RadPropertyDefaultValue("ClipText", typeof(LightVisualElement))]
public bool ClipText { get; set; }
Property Value
System.Boolean
|
DisabledTextRenderingHint
Gets or sets the text rendering hint used when this element is disabled.
Declaration
[RadPropertyDefaultValue("TextRenderingHint", typeof(VisualElement))]
public virtual TextRenderingHint DisabledTextRenderingHint { get; set; }
Property Value
System.Drawing.Text.TextRenderingHint
|
DisableHTMLRendering
Declaration
public bool DisableHTMLRendering { get; set; }
Property Value
System.Boolean
|
DrawBackgroundImage
Gets or Sets value indicating whether the element should paint its background image.
Declaration
[RadPropertyDefaultValue("DrawBackgroundImage", typeof(LightVisualElement))]
public bool DrawBackgroundImage { get; set; }
Property Value
System.Boolean
|
DrawBorder
Gets or Sets value indicating whether the element should paint its border
Declaration
[RadPropertyDefaultValue("DrawBorder", typeof(LightVisualElement))]
public override bool DrawBorder { get; set; }
Property Value
System.Boolean
|
Overrides
DrawFill
Gets or Sets value indicating whether the element should paint its background
Declaration
[RadPropertyDefaultValue("DrawFill", typeof(LightVisualElement))]
public override bool DrawFill { get; set; }
Property Value
System.Boolean
|
Overrides
DrawImage
Gets or Sets value indicating whether the element should paint its image.
Declaration
[RadPropertyDefaultValue("DrawImage", typeof(LightVisualElement))]
public bool DrawImage { get; set; }
Property Value
System.Boolean
|
DrawText
Gets or Sets value indicating whether the element should paint its text
Declaration
[RadPropertyDefaultValue("DrawText", typeof(LightVisualElement))]
public virtual bool DrawText { get; set; }
Property Value
System.Boolean
|
EnableImageTransparency
Gets or sets a value indicating whether image transparency is supported.
Declaration
[RadPropertyDefaultValue("EnableImageTransparency", typeof(LightVisualElement))]
public bool EnableImageTransparency { get; set; }
Property Value
System.Boolean
|
GradientAngle
Declaration
[RadPropertyDefaultValue("GradientAngle", typeof(LightVisualElement))]
public override float GradientAngle { get; set; }
Property Value
System.Single
|
Overrides
GradientPercentage
Declaration
[RadPropertyDefaultValue("GradientPercentage", typeof(LightVisualElement))]
public override float GradientPercentage { get; set; }
Property Value
System.Single
|
Overrides
GradientPercentage2
Declaration
[RadPropertyDefaultValue("GradientPercentage2", typeof(LightVisualElement))]
public override float GradientPercentage2 { get; set; }
Property Value
System.Single
|
Overrides
GradientStyle
Declaration
[RadPropertyDefaultValue("GradientStyle", typeof(LightVisualElement))]
public override GradientStyles GradientStyle { get; set; }
Property Value
GradientStyles
|
Overrides
HorizontalLineColor
Declaration
[RadPropertyDefaultValue("HorizontalLineColor", typeof(LightVisualElement))]
public virtual Color HorizontalLineColor { get; set; }
Property Value
System.Drawing.Color
|
HorizontalLineWidth
Declaration
[RadPropertyDefaultValue("HorizontalLineWidth", typeof(LightVisualElement))]
public virtual int HorizontalLineWidth { get; set; }
Property Value
System.Int32
|
Image
Declaration
[RadPropertyDefaultValue("Image", typeof(LightVisualElement))]
public virtual Image Image { get; set; }
Property Value
System.Drawing.Image
|
Implements
ImageAlignment
Declaration
public virtual ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
ImageDrawType
Determines whether the Image or SvgImage property will be painted. Note that if SvgImage == null, this property will always return "ImageDrawType.Image".
Declaration
public virtual ImageDrawType ImageDrawType { get; set; }
Property Value
ImageDrawType
|
ImageIndex
Declaration
[RadPropertyDefaultValue("ImageIndex", typeof(LightVisualElement))]
public virtual int ImageIndex { get; set; }
Property Value
System.Int32
|
Implements
ImageKey
Declaration
[RadPropertyDefaultValue("ImageKey", typeof(LightVisualElement))]
public virtual string ImageKey { get; set; }
Property Value
System.String
|
Implements
ImageLayout
Declaration
public virtual ImageLayout ImageLayout { get; set; }
Property Value
System.Windows.Forms.ImageLayout
|
ImageOpacity
Declaration
[RadPropertyDefaultValue("ImageOpacity", typeof(LightVisualElement))]
public virtual double ImageOpacity { get; set; }
Property Value
System.Double
|
ImageTransparentColor
Gets or sets the transparent color for the image.
Declaration
[RadPropertyDefaultValue("ImageTransparentColor", typeof(LightVisualElement))]
public Color ImageTransparentColor { get; set; }
Property Value
System.Drawing.Color
|
Layout
MeasureTrailingSpaces
Determines whether trailing spaces will be included when text size is measured.
Declaration
public bool MeasureTrailingSpaces { get; set; }
Property Value
System.Boolean
|
Implements
NumberOfColors
Declaration
[RadPropertyDefaultValue("NumberOfColors", typeof(LightVisualElement))]
public override int NumberOfColors { get; set; }
Property Value
System.Int32
|
Overrides
Shadow
ShouldPaint
Declaration
public override bool ShouldPaint { get; set; }
Property Value
System.Boolean
|
Overrides
ShowHorizontalLine
Declaration
[RadPropertyDefaultValue("ShowHorizontalLine", typeof(LightVisualElement))]
public virtual bool ShowHorizontalLine { get; set; }
Property Value
System.Boolean
|
ShowKeyboardCues
Determines whether keyboard focus cues are enabled for this element.
Declaration
public virtual bool ShowKeyboardCues { get; set; }
Property Value
System.Boolean
|
Implements
SvgImage
Gets or sets the Svg Image.
Declaration
public virtual RadSvgImage SvgImage { get; set; }
Property Value
RadSvgImage
|
SvgImageXml
Gets or sets the Svg Image as string.
Declaration
[VsbBrowsable(false)]
public virtual string SvgImageXml { get; set; }
Property Value
System.String
|
TextAlignment
Declaration
public virtual ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
Implements
TextBlock
Declaration
public virtual FormattedTextBlock TextBlock { get; set; }
Property Value
FormattedTextBlock
|
TextImageRelation
Gets or sets a value indicating the TextImageRelation: ImageAboveText, ImageBeforeText, Overlay, TextAboveImage, and TextBeforeImage.
Declaration
[RadPropertyDefaultValue("TextImageRelation", typeof(LightVisualElement))]
public TextImageRelation TextImageRelation { get; set; }
Property Value
System.Windows.Forms.TextImageRelation
|
TextParams
Gets the text structure used to render text
Declaration
public TextParams TextParams { get; }
Property Value
TextParams
|
TextRenderingHint
Gets or sets the text rendering hint.
Declaration
[RadPropertyDefaultValue("TextRenderingHint", typeof(VisualElement))]
public virtual TextRenderingHint TextRenderingHint { get; set; }
Property Value
System.Drawing.Text.TextRenderingHint
|
TextWrap
Gets or sets a value indicating whether text will be wrapped when exceeding the width of the element.
Declaration
[RadPropertyDefaultValue("TextWrap", typeof(LightVisualElement))]
public virtual bool TextWrap { get; set; }
Property Value
System.Boolean
|
Implements
UseMnemonic
Determines whether ampersand character will be treated as mnemonic or not.
Declaration
public virtual bool UseMnemonic { get; set; }
Property Value
System.Boolean
|
Implements
Methods
AnimateImage(Image, Boolean)
Declaration
protected virtual void AnimateImage(Image image, bool isBackgroudnImage)
Parameters
System.Drawing.Image
image
|
System.Boolean
isBackgroudnImage
|
ArrangeElement(RadElement, SizeF)
Declaration
protected virtual void ArrangeElement(RadElement element, SizeF finalSize)
Parameters
RadElement
element
|
System.Drawing.SizeF
finalSize
|
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CalculateDesiredSize(SizeF, SizeF, SizeF)
Declaration
protected virtual SizeF CalculateDesiredSize(SizeF availableSize, SizeF desiredSize, SizeF elementsDesiredSize)
Parameters
System.Drawing.SizeF
availableSize
|
System.Drawing.SizeF
desiredSize
|
System.Drawing.SizeF
elementsDesiredSize
|
Returns
System.Drawing.SizeF
|
ClipImage(Image, Rectangle, Size)
Declaration
protected virtual Image ClipImage(Image image, Rectangle imageRectange, Size size)
Parameters
System.Drawing.Image
image
|
System.Drawing.Rectangle
imageRectange
|
System.Drawing.Size
size
|
Returns
System.Drawing.Image
|
CreateTextParams()
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DrawHorizontalLine(IGraphics)
Declaration
protected virtual void DrawHorizontalLine(IGraphics graphics)
Parameters
IGraphics
graphics
|
DrawHorizontalLineWithoutText(IGraphics)
Declaration
protected virtual void DrawHorizontalLineWithoutText(IGraphics graphics)
Parameters
IGraphics
graphics
|
GetAsBitmapEx(Color, Single, SizeF)
Declaration
public override Bitmap GetAsBitmapEx(Color backColor, float totalAngle, SizeF totalScale)
Parameters
System.Drawing.Color
backColor
|
System.Single
totalAngle
|
System.Drawing.SizeF
totalScale
|
Returns
System.Drawing.Bitmap
|
Overrides
GetBorderThickness(Boolean)
Declaration
protected virtual Padding GetBorderThickness(bool checkDrawBorder)
Parameters
System.Boolean
checkDrawBorder
|
Returns
System.Windows.Forms.Padding
|
GetBorderThickness(LightVisualElement, Boolean)
Gets the border thickness of a LightVisualElement
Declaration
public static Padding GetBorderThickness(LightVisualElement element, bool checkDrawBorder)
Parameters
LightVisualElement
element
The element to check. |
System.Boolean
checkDrawBorder
Determines whether to consider when the border is disabled. |
Returns
System.Windows.Forms.Padding
The border thickness. |
GetClientOffset(Boolean)
Declaration
protected virtual Padding GetClientOffset(bool includeBorder)
Parameters
System.Boolean
includeBorder
|
Returns
System.Windows.Forms.Padding
|
GetClientRectangle(Boolean, SizeF)
Declaration
protected virtual RectangleF GetClientRectangle(bool includeBorder, SizeF finalSize)
Parameters
System.Boolean
includeBorder
|
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.RectangleF
|
GetClientRectangle(SizeF)
Declaration
protected override RectangleF GetClientRectangle(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.RectangleF
|
Overrides
GetClipRect()
Declaration
protected override RectangleF GetClipRect()
Returns
System.Drawing.RectangleF
|
Overrides
GetFaceRectangle()
Declaration
public RectangleF GetFaceRectangle()
Returns
System.Drawing.RectangleF
|
Implements
GetImageDrawTypeLocalValue()
Declaration
protected ImageDrawType? GetImageDrawTypeLocalValue()
Returns
System.Nullable<ImageDrawType>
|
GetPaintingBorderWidth()
Declaration
public override float GetPaintingBorderWidth()
Returns
System.Single
|
Overrides
GetStylablePropertiesFilter()
GetTextAlignment()
Declaration
protected ContentAlignment GetTextAlignment()
Returns
System.Drawing.ContentAlignment
|
GetTextAlignment(ContentAlignment)
Declaration
protected ContentAlignment GetTextAlignment(ContentAlignment textAlignment)
Parameters
System.Drawing.ContentAlignment
textAlignment
|
Returns
System.Drawing.ContentAlignment
|
GetTextSize(SizeF, TextParams)
Declaration
public SizeF GetTextSize(SizeF proposedSize, TextParams textParams)
Parameters
System.Drawing.SizeF
proposedSize
|
TextParams
textParams
|
Returns
System.Drawing.SizeF
|
Implements
GetTextSize(TextParams)
Declaration
public SizeF GetTextSize(TextParams textParams)
Parameters
TextParams
textParams
|
Returns
System.Drawing.SizeF
|
Implements
InitializeFields()
MapStyleProperty(RadProperty, String)
Declaration
public override RadProperty MapStyleProperty(RadProperty propertyToMap, string settingType)
Parameters
RadProperty
propertyToMap
|
System.String
settingType
|
Returns
RadProperty
|
Overrides
MeasureElements(SizeF, SizeF, Padding)
Declaration
protected virtual SizeF MeasureElements(SizeF availableSize, SizeF clientSize, Padding borderThickness)
Parameters
System.Drawing.SizeF
availableSize
|
System.Drawing.SizeF
clientSize
|
System.Windows.Forms.Padding
borderThickness
|
Returns
System.Drawing.SizeF
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
MeasureOverride(SizeF, TextParams)
Declaration
public SizeF MeasureOverride(SizeF availableSize, TextParams textParams)
Parameters
System.Drawing.SizeF
availableSize
|
TextParams
textParams
|
Returns
System.Drawing.SizeF
|
Implements
OnAnimatedImageFrameChanged()
Called when animated image frame changes.
Declaration
protected virtual void OnAnimatedImageFrameChanged()
OnBitStateChanged(Int64, Boolean, Boolean)
Declaration
protected override void OnBitStateChanged(long key, bool oldValue, bool newValue)
Parameters
System.Int64
key
|
System.Boolean
oldValue
|
System.Boolean
newValue
|
Overrides
OnLoaded()
OnMouseMove(Object, MouseEventArgs)
Declaration
public void OnMouseMove(object sender, MouseEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.MouseEventArgs
e
|
Implements
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnTunnelEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnTunnelEvent(RadElement sender, RoutedEventArgs args)
Parameters
RadElement
sender
|
RoutedEventArgs
args
|
Overrides
PaintBackgroundImage(IGraphics)
Declaration
protected virtual void PaintBackgroundImage(IGraphics graphics)
Parameters
IGraphics
graphics
|
PaintContent(IGraphics)
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
PaintImage(IGraphics)
PaintPrimitive(IGraphics, Single, SizeF, TextParams)
Declaration
public void PaintPrimitive(IGraphics graphics, float angle, SizeF scale, TextParams textParams)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
TextParams
textParams
|
Implements
PaintPrimitive(IGraphics, TextParams)
Declaration
public void PaintPrimitive(IGraphics graphics, TextParams textParams)
Parameters
IGraphics
graphics
|
TextParams
textParams
|
Implements
PaintSvgImage(IGraphics)
PaintText(IGraphics)
PaintTextCore(IGraphics)
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|
Overrides
ToggleTextPrimitive(RadProperty)
Toggles the text primitive when text related properties are change.
Declaration
protected virtual void ToggleTextPrimitive(RadProperty property)
Parameters
RadProperty
property
The changed property. |