UpDownControlExtensions
Wisej.Web.Markup.UpDownControlExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.UpDownControlExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the UpDownBase class.
public class UpDownControlExtensions
Sets the BorderStyle property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
borderStyle
The border style to apply to the control.
Returns: TUpDownControl. The modified UpDown control.
Sets the Editable property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
editable
Indicates whether the control should be editable.
Returns: TUpDownControl. The modified UpDown control.
Sets the HideUpDownButtons property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
hideUpDownButtons
Indicates whether the up-down buttons should be hidden.
Returns: TUpDownControl. The modified UpDown control with up-down buttons hidden.
Sets the InterceptArrowKeys property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
interceptArrowKeys
Indicates whether arrow key events should be intercepted.
Returns: TUpDownControl. The modified UpDown control.
Sets the Invalid property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
invalid
Indicates whether the current value is invalid.
Returns: TUpDownControl. The modified UpDown control.
Sets the InvalidMessage property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
invalidMessage
The message to display when the input is invalid.
Returns: TUpDownControl. The modified UpDown control.
Attaches an event handler to the SelectedItemChanged event of a DomainUpDown control.
TDomainUpDownControl
The type of the domain up-down control.
domainUpDownControl
The domain up-down control to which the event handler is to be attached.
action
The action to perform when the SelectedItemChanged event is triggered.
Returns: TDomainUpDownControl. The domain up-down control with the event handler attached.
Attaches an event handler to the SortedChanged event of a DomainUpDown control.
TDomainUpDownControl
The type of the domain up-down control.
domainUpDownControl
The domain up-down control to which the event handler is to be attached.
action
The action to perform when the SortedChanged event is triggered.
Returns: TDomainUpDownControl. The domain up-down control with the event handler attached.
Sets the SelectOnEnter property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
selectOnEnter
Indicates whether the text should be selected when the control gains focus.
Returns: TUpDownControl. The modified UpDown control.
Sets the TextAlign property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
textAlign
The horizontal alignment of the text within the control.
Returns: TUpDownControl. The modified UpDown control.
Sets the UpDownAlign property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
upDownAlign
The horizontal alignment of the up-down buttons within the control.
Returns: TUpDownControl. The modified UpDown control.
Enables the Wrap property of the specified UpDown control.
TUpDownControl
upDownControl
The UpDown control to modify.
Returns: TUpDownControl. The modified UpDown control with wrapping enabled.