DrawerBuilder Methods
A Drawer control.Name | Description |
---|---|
ActiveStateEnabled(JS) | Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option. |
ActiveStateEnabled(Boolean) | Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option. |
AnimationDuration(JS) | Specifies the duration of the drawer's opening and closing animation (in milliseconds). Applies only if animationEnabled is true. Mirrors the client-side animationDuration option. |
AnimationDuration(Double) | Specifies the duration of the drawer's opening and closing animation (in milliseconds). Applies only if animationEnabled is true. Mirrors the client-side animationDuration option. |
AnimationEnabled(JS) | Specifies whether to use an opening and closing animation. Mirrors the client-side animationEnabled option. |
AnimationEnabled(Boolean) | Specifies whether to use an opening and closing animation. Mirrors the client-side animationEnabled option. |
CloseOnOutsideClick(JS) | Specifies whether to close the drawer if a user clicks or taps the view area. Mirrors the client-side closeOnOutsideClick option. |
CloseOnOutsideClick(Boolean) | Specifies whether to close the drawer if a user clicks or taps the view area. Mirrors the client-side closeOnOutsideClick option. |
Content(RazorBlock) | Specifies content for a Drawer control. |
Content(String) | Specifies content for a Drawer control. |
Disabled(JS) | Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option. |
Disabled(Boolean) | Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option. |
ElementAttr(JS) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(Dictionary<String, Object>) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(String, Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
Height(JS) | Specifies the view's height. Mirrors the client-side height option. |
Height(Double) | Specifies the view's height. Mirrors the client-side height option. |
Height(String) | Specifies the view's height. Mirrors the client-side height option. |
Hint(JS) | Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option. |
Hint(String) | Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option. |
HoverStateEnabled(JS) | Specifies whether the UI component changes its state when a user pauses on it. Mirrors the client-side hoverStateEnabled option. |
HoverStateEnabled(Boolean) | Specifies whether the UI component changes its state when a user pauses on it. Mirrors the client-side hoverStateEnabled option. |
ID(JS) |
Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
|
ID(String) |
Specifies the id attribute for the control’s HTML element.
|
MaxSize(JS) | Specifies the drawer's width or height (depending on the drawer's position) in the opened state. Mirrors the client-side maxSize option. |
MaxSize(Double) | Specifies the drawer's width or height (depending on the drawer's position) in the opened state. Mirrors the client-side maxSize option. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MinSize(JS) | Specifies the drawer's width or height (depending on the drawer's position) in the closed state. Mirrors the client-side minSize option. |
MinSize(Double) | Specifies the drawer's width or height (depending on the drawer's position) in the closed state. Mirrors the client-side minSize option. |
OnDisposing(RazorBlock) | A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option. |
OnDisposing(String) | A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option. |
OnInitialized(RazorBlock) | A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option. |
OnInitialized(String) | A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option. |
OnOptionChanged(RazorBlock) | A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option. |
OnOptionChanged(String) | A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option. |
Opened(JS) | Specifies whether the drawer is opened. Mirrors the client-side opened option. |
Opened(Boolean) | Specifies whether the drawer is opened. Mirrors the client-side opened option. |
OpenedStateMode(DrawerOpenedStateMode) | Specifies how the drawer interacts with the view in the opened state. Mirrors the client-side openedStateMode option. |
Option(String, Object) | Specifies an option by its name. |
Position(DrawerPosition) | Specifies the drawer's position in relation to the view. Mirrors the client-side position option. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Render() | Inherited from WidgetBuilder. |
RevealMode(DrawerRevealMode) | Specifies the drawer's reveal mode. Mirrors the client-side revealMode option. |
RtlEnabled(JS) | Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option. |
RtlEnabled(Boolean) | Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option. |
Shading(JS) | Specifies whether to shade the view when the drawer is opened. Mirrors the client-side shading option. |
Shading(Boolean) | Specifies whether to shade the view when the drawer is opened. Mirrors the client-side shading option. |
Template(JS) | Specifies the client-side template. |
Template(RazorBlock) | Specifies the client-side template. |
Template(TemplateName) | Specifies the client-side template. |
Template(String) | Specifies the client-side template. |
ToString() | Inherited from WidgetBuilder. |
ToTemplate() | Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder. |
Visible(JS) | Specifies whether the Drawer UI component (including the view) is visible. Mirrors the client-side visible option. |
Visible(Boolean) | Specifies whether the Drawer UI component (including the view) is visible. Mirrors the client-side visible option. |
Width(JS) | Specifies the view's width. Mirrors the client-side width option. |
Width(Double) | Specifies the view's width. Mirrors the client-side width option. |
Width(String) | Specifies the view's width. Mirrors the client-side width option. |
See Also