InputStyle
Class representing the styles for RadInputControl.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class InputStyle : Style, IComponent, IDisposable, IStateManager
Inheritance: objectMarshalByRefObjectComponentStyleInputStyle
Implements:
Inherited Members
Constructors
public InputStyle()
Properties
Gets or sets the horizontal alignment applied to the HTML input element.
public virtual HorizontalAlign HorizontalAlign { get; set; }
The horizontal alignment applied to the HTML input element.
A protected property. Gets a value indicating whether any style elements have been defined in the state bag.
public override bool IsEmpty { get; }
true if the state bag has no style elements defined; otherwise, false.
Overrides:
Gets or sets the spacing between letters in the input control.
public virtual Unit LetterSpacing { get; set; }
The spacing between letters in the input control.
Gets or sets the top padding applied to the html input element.
public virtual Unit PaddingBottom { get; set; }
The top padding applied to the html input element.
Gets or sets the left padding applied to the html input element.
public virtual Unit PaddingLeft { get; set; }
The left padding applied to the html input element.
Gets or sets the right padding applied to the html input element.
public virtual Unit PaddingRight { get; set; }
The right padding applied to the html input element.
Gets or sets the top padding applied to the html input element.
public virtual Unit PaddingTop { get; set; }
The top padding applied to the html input element.
public virtual ResizeMode Resize { get; set; }
Methods
Duplicates the style properties of the specified Style into the instance of the Style class that this method is called from.
public override void CopyFrom(Style s)
A Style that represents the style to copy.
Exceptions: InvalidOperationExceptionRegisteredCssClass has been set.
Overrides:
Combines the style properties of the specified Style with the instance of the Style class that this method is called from.
public override void MergeWith(Style s)
A Style that represents the style to combine.
Exceptions: InvalidOperationExceptionRegisteredCssClass has been set.
Overrides:
Removes any defined style elements from the state bag.
public override void Reset()
Overrides: