Class SecondaryTextElement
This element is used to display the secondary text of the Key class.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.VirtualKeyboard
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SecondaryTextElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
SecondaryTextElement(Key)
Initializes a new instance of the SecondaryTextElement class.
Declaration
public SecondaryTextElement(Key owner)
Parameters
Key
owner
|
Properties
ForeColor
Gets or sets the foreground color. Color type represents an ARGB color. Note that then shift key is not active, the SecondaryForeColor value will be returned as ForeColor, otherwise the ForeColor will be returned.
Declaration
public override Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
Padding
Gets or sets the padding sizes of the element. The paddings are included into the element's bounding rectangle.
Declaration
public override Padding Padding { get; set; }
Property Value
System.Windows.Forms.Padding
|
Overrides
Methods
GetScaledFont(Single)
Scales the System.Drawing.Font used by the Paint process. The Font property is not changed.
Declaration
public override Font GetScaledFont(float scale)
Parameters
System.Single
scale
Scale factor. |
Returns
System.Drawing.Font
The scaled font. |
Overrides
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()