Class Button
public class Button : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IPostBackEventHandler, IAttributeAccessor, IButton, IButtonControl, IHasConfirmText, IHasToolTip, IHasText
- Inheritance
-
Button
- Implements
- Derived
- Inherited Members
Constructors
Button()
public Button()
Properties
Attributes
public AttributeCollection Attributes { get; }
Property Value
ButtonStyle
public ButtonStyle ButtonStyle { get; set; }
Property Value
CausesValidation
public virtual bool CausesValidation { get; set; }
Property Value
CommandArgument
public string CommandArgument { get; set; }
Property Value
CommandName
public string CommandName { get; set; }
Property Value
ConfirmText
public string ConfirmText { get; set; }
Property Value
CssClass
public string CssClass { get; set; }
Property Value
DisableAfterClick
public bool DisableAfterClick { get; set; }
Property Value
EnableAfter
public int? EnableAfter { get; set; }
Property Value
- int?
Enabled
public bool Enabled { get; set; }
Property Value
GroupName
public string GroupName { get; set; }
Property Value
HasAttributes
public bool HasAttributes { get; }
Property Value
Icon
public string Icon { get; set; }
Property Value
IconPosition
public IconPositionType IconPosition { get; set; }
Property Value
NavigateTarget
public string NavigateTarget { get; set; }
Property Value
NavigateUrl
public string NavigateUrl { get; set; }
Property Value
OnClientClick
public string OnClientClick { get; set; }
Property Value
PostBackEnabled
public bool PostBackEnabled { get; set; }
Property Value
Size
public ButtonSize Size { get; set; }
Property Value
Style
public CssStyleCollection Style { get; }
Property Value
Text
public string Text { get; set; }
Property Value
ToolTip
public string ToolTip { get; set; }
Property Value
ValidationGroup
public string ValidationGroup { get; set; }
Property Value
Methods
LoadViewState(object)
protected override void LoadViewState(object savedState)
Parameters
savedStateobject
RenderControl(HtmlTextWriter)
public override void RenderControl(HtmlTextWriter writer)
Parameters
writerHtmlTextWriter
SaveViewState()
protected override object SaveViewState()
Returns
TrackViewState()
protected override void TrackViewState()
Events
Click
public event EventHandler Click
Event Type
Command
public event CommandEventHandler Command