Class SplitButtonPropertiesBuilder
Inheritance
System.Object
SplitButtonPropertiesBuilder
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
public class SplitButtonPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
Declaration
public SplitButtonPropertiesBuilder()
Declaration
public SplitButtonPropertiesBuilder(SplitButton splitbutton)
Parameters
Methods
Specifies the arrow position of the split or dropdown button.
Declaration
public SplitButtonPropertiesBuilder ArrowPosition(ArrowPosition arrowPosition)
Parameters
Returns
Specifies the mode of the button. Button mode can be split or dropdown.
Declaration
public SplitButtonPropertiesBuilder ButtonMode(ButtonMode buttonMode)
Parameters
Returns
Specifies to trigger the split button client side events.
Declaration
public SplitButtonPropertiesBuilder ClientSideEvents(Action<SplitButtonClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
ContentType(ContentType)
Specifies the content type of the split button. Content type can be image only, text only, image text image, text and image or image both.
Declaration
public SplitButtonPropertiesBuilder ContentType(ContentType contentType)
Parameters
Returns
Specifies the root CSS class to split button element for theme customization.
Declaration
public SplitButtonPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
Specifies the split button to respond for user interaction.
Declaration
public SplitButtonPropertiesBuilder Enabled()
Returns
Specifies the split button to respond for user interaction with specified boolean argument.
Declaration
public SplitButtonPropertiesBuilder Enabled(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
|
Returns
Specifies to align the split button control in right to left direction.
Declaration
public SplitButtonPropertiesBuilder EnableRTL()
Returns
Specifies to align the split button control in right to left direction with specified boolean argument.
Declaration
public SplitButtonPropertiesBuilder EnableRTL(bool rtl)
Parameters
Type |
Name |
Description |
System.Boolean |
rtl |
|
Returns
Specifies the height of the split button.
Declaration
public SplitButtonPropertiesBuilder Height(string height)
Parameters
Type |
Name |
Description |
System.String |
height |
|
Returns
Specifies to map the field of HTML attributes.
Declaration
public SplitButtonPropertiesBuilder HtmlAttributes(IDictionary<string, object> itemHtmlAttributes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
itemHtmlAttributes |
|
Returns
Specifies the image position of the split button. Image position can be left or right and is applicable if content type is text and image.
Declaration
public SplitButtonPropertiesBuilder ImagePosition(ImagePosition imagePosition)
Parameters
Returns
Specifies the menu items.
Declaration
public SplitButtonPropertiesBuilder Items(Action<SplitButtonItemAdder> splitbuttonitems)
Parameters
Returns
Specifies the popupPosition of the split or dropdown button.
Declaration
public SplitButtonPropertiesBuilder PopupPosition(string popupPosition)
Parameters
Type |
Name |
Description |
System.String |
popupPosition |
|
Returns
Specifies the primary icon for button with specified string argument. This property applicable to all content types except 'text only'.
Declaration
public SplitButtonPropertiesBuilder PrefixIcon(string prefixIcon)
Parameters
Type |
Name |
Description |
System.String |
prefixIcon |
|
Returns
Renders the split button instance.
Declaration
Specifies the anchor tag to split button menu item for navigation.
Declaration
public static TagBuilder RenderItemsAnchorTag(SplitButtonItem item)
Parameters
Returns
Specifies to render the list of menu items with specified id.
Declaration
public static string RenderTargetElement(List<SplitButtonItem> Items, SplitButton splitbutton, string id)
Parameters
Returns
Type |
Description |
System.String |
|
Specifies to display the split button with rounded corners.
Declaration
public SplitButtonPropertiesBuilder ShowRoundedCorner()
Returns
Specifies to display the split button with rounded corners by the specified boolean argument.
Declaration
public SplitButtonPropertiesBuilder ShowRoundedCorner(bool roundedCorner)
Parameters
Type |
Name |
Description |
System.Boolean |
roundedCorner |
|
Returns
Specifies the size of the split button. Size can be normal, mini, small, medium or large.
Declaration
public SplitButtonPropertiesBuilder Size(ButtonSize size)
Parameters
Returns
Specifies the secondary icon for button with specified string argument. This property applicable for the content types 'image text image' and 'image both'.
Declaration
public SplitButtonPropertiesBuilder SuffixIcon(string suffixIcon)
Parameters
Type |
Name |
Description |
System.String |
suffixIcon |
|
Returns
Declaration
public SplitButtonPropertiesBuilder Target(string target)
Parameters
Type |
Name |
Description |
System.String |
target |
|
Returns
Specifies the id in which list of items in the menu can be mentioned.
Declaration
public SplitButtonPropertiesBuilder TargetID(string targetID)
Parameters
Type |
Name |
Description |
System.String |
targetID |
|
Returns
Text(String)
Specifies the text content for split button.
Declaration
public SplitButtonPropertiesBuilder Text(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Represents an HTML-encoded string.
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Specifies the width of the split button.
Declaration
public SplitButtonPropertiesBuilder Width(string width)
Parameters
Type |
Name |
Description |
System.String |
width |
|
Returns
Implements
System.Web.IHtmlString