RadButtonToggleState
This class represents a single RadButton ToggleState when the RadButton control is used as custom toggle button.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadButtonToggleState : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerRadButtonToggleState
Implements:
Inherited Members
Constructors
Creates a RadButton ToggleState.
public RadButtonToggleState()
Creates a RadButton ToggleState.
Properties
Gets or sets the CSS class applied to the RadButton control.
public string CssClass { get; set; }
Gets or sets the CSS class applied to the RadButton control when the mouse pointer is over the control.
public string HoveredCssClass { get; set; }
Gets or sets the location of an image to display in the RadButton control, when the mouse pointer is over the control.
[Bindable(true)]
public string HoveredImageUrl { get; set; }
Gets or sets the location of an image to display in the RadButton control.
[Bindable(true)]
public string ImageUrl { get; set; }
Gets or sets a bool value indicating how the Image is used - i.e. as a background image or as an Image Button.
public bool IsBackgroundImage { get; set; }
Gets or sets the CSS class applied to the RadButton control when the control is pressed.
public string PressedCssClass { get; set; }
Gets or sets the location of an image to display in the RadButton control, when the control is pressed.
[Bindable(true)]
public string PressedImageUrl { get; set; }
Gets or sets the URL to the image showed when the Primary Icon is hovered.
[Bindable(true)]
public string PrimaryHoveredIconUrl { get; set; }
Gets or sets the bottom edge of the Primary Icon, relative to the RadButton control's wrapper element.
public Unit PrimaryIconBottom { get; set; }
Gets or sets the CSS class applied to the Primary Icon.
public string PrimaryIconCssClass { get; set; }
Gets or sets the Height of the Primary Icon.
public Unit PrimaryIconHeight { get; set; }
Gets or sets the left edge of the Primary Icon, relative to the RadButton control's wrapper element.
public Unit PrimaryIconLeft { get; set; }
Gets or sets the right edge of the Primary Icon, relative to the RadButton control's wrapper element.
public Unit PrimaryIconRight { get; set; }
Gets or sets the top edge of the Primary Icon, relative to the RadButton control's wrapper element.
public Unit PrimaryIconTop { get; set; }
Gets or sets the URL to the image used as Primary Icon.
[Bindable(true)]
public string PrimaryIconUrl { get; set; }
Gets or sets the Width of the Primary Icon.
public Unit PrimaryIconWidth { get; set; }
Gets or sets the URL to the image showed when the Primary Icon is pressed.
[Bindable(true)]
public string PrimaryPressedIconUrl { get; set; }
Gets or sets the URL to the image showed when the Secondary Icon is hovered.
[Bindable(true)]
public string SecondaryHoveredIconUrl { get; set; }
Gets or sets the bottom edge of the Secondary Icon, relative to the RadButton control's wrapper element.
public Unit SecondaryIconBottom { get; set; }
Gets or sets the CSS class applied to the Secondary Icon.
public string SecondaryIconCssClass { get; set; }
Gets or sets the Height of the Secondary Icon.
public Unit SecondaryIconHeight { get; set; }
Gets or sets the left edge of the Secondary Icon, relative to the RadButton control's wrapper element.
public Unit SecondaryIconLeft { get; set; }
Gets or sets the right edge of the Secondary Icon, relative to the RadButton control's wrapper element.
public Unit SecondaryIconRight { get; set; }
Gets or sets the top edge of the Secondary Icon, relative to the RadButton control's wrapper element.
public Unit SecondaryIconTop { get; set; }
Gets or sets the URL to the image used as Secondary Icon.
[Bindable(true)]
public string SecondaryIconUrl { get; set; }
Gets or sets the Width of the Secondary Icon.
public Unit SecondaryIconWidth { get; set; }
Gets or sets the URL to the image showed when the Secondary Icon is pressed.
[Bindable(true)]
public string SecondaryPressedIconUrl { get; set; }
Gets or sets a bool value indicating whether the ToggleState is selected or not.
[Themeable(false)]
public bool Selected { get; set; }
Gets or sets the text displayed in the RadButton control.
public string Text { get; set; }