Class MobileNavigationBarPropertiesBuilder
Inheritance
System.Object
MobileNavigationBarPropertiesBuilder
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
Syntax
public class MobileNavigationBarPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileNavigationBarPropertiesBuilder(NavigationBar)
Initializes a new instance of the class.
Declaration
public MobileNavigationBarPropertiesBuilder(NavigationBar mNavigationBar)
Parameters
Type |
Name |
Description |
NavigationBar |
mNavigationBar |
The m NavigationBar.
|
Methods
Android(Action<MobileNavigationBarAndroidPropertiesBuilder>)
Declaration
public MobileNavigationBarPropertiesBuilder Android(Action<MobileNavigationBarAndroidPropertiesBuilder> androidModel)
Parameters
Returns
Badge(Action<MobileNavigationBarBadgePropertiesBuilder>)
Declaration
public MobileNavigationBarPropertiesBuilder Badge(Action<MobileNavigationBarBadgePropertiesBuilder> badgeModel)
Parameters
Returns
ClientSideEvents(Action<MobileNavigationBarClientSideEventsBuilder>)
Declaration
public MobileNavigationBarPropertiesBuilder ClientSideEvents(Action<MobileNavigationBarClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
ContentTemplate(Action<MobileNavigationBarProperties>)
Specifies the element contains template contents.
Declaration
public MobileNavigationBarPropertiesBuilder ContentTemplate(Action<MobileNavigationBarProperties> template)
Parameters
Returns
ContentTemplate(Func<MobileNavigationBarProperties, Object>)
Specifies the element contains template contents.
Declaration
public MobileNavigationBarPropertiesBuilder ContentTemplate(Func<MobileNavigationBarProperties, object> template)
Parameters
Returns
CssClass(String)
Specifies custom css class for the control.
Declaration
public MobileNavigationBarPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass.
|
Returns
EnablePersistence(Boolean)
Current model value to browser cookies for state maintenance. While refreshing the page, the model value applied from browser cookies retains.
Declaration
public MobileNavigationBarPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
if set to true [enable persistence].
|
Returns
EnableRippleEffect(Boolean)
Provides animation ripple effect to the control
Declaration
public MobileNavigationBarPropertiesBuilder EnableRippleEffect(bool enableRippleEffect)
Parameters
Type |
Name |
Description |
System.Boolean |
enableRippleEffect |
if set to true [enable ripple effect].
|
Returns
Flat(Action<MobileNavigationBarFlatPropertiesBuilder>)
Declaration
public MobileNavigationBarPropertiesBuilder Flat(Action<MobileNavigationBarFlatPropertiesBuilder> flatModel)
Parameters
Returns
IconAlignment(IconAlignment)
Specifies the icon alignment.
Declaration
public MobileNavigationBarPropertiesBuilder IconAlignment(IconAlignment iconAlignment)
Parameters
Type |
Name |
Description |
IconAlignment |
iconAlignment |
The icon alignment.
|
Returns
IOS7(Action<MobileNavigationBarIOS7PropertiesBuilder>)
Declaration
public MobileNavigationBarPropertiesBuilder IOS7(Action<MobileNavigationBarIOS7PropertiesBuilder> ios7Model)
Parameters
Returns
IsRelative(Boolean)
Specifies whether to keep the navigation bar in fixed position.
Declaration
public MobileNavigationBarPropertiesBuilder IsRelative(bool isRelative)
Parameters
Type |
Name |
Description |
System.Boolean |
isRelative |
IsRelative
|
Returns
Items(Action<MobileNavigationBarBaseItemAdder>)
Specifies the menu items.
Declaration
public MobileNavigationBarPropertiesBuilder Items(Action<MobileNavigationBarBaseItemAdder> navbarItem)
Parameters
Returns
Mode(NavBarMode)
Specifies whether to render navigation bar in header mode or toolbar mode.
Declaration
public MobileNavigationBarPropertiesBuilder Mode(NavBarMode mode)
Parameters
Returns
Position(NavBarPosition)
Specifies whether to keep the navigation bar in top or bottom position.
Declaration
public MobileNavigationBarPropertiesBuilder Position(NavBarPosition position)
Parameters
Returns
Render()
Declaration
RenderMode(RenderMode)
Changes the rendering mode of the navigation bar.
Declaration
public MobileNavigationBarPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type |
Name |
Description |
RenderMode |
renderMode |
The render mode.
|
Returns
TemplateID(String)
Specifies the id of the element which is to be given as template.
Declaration
public MobileNavigationBarPropertiesBuilder TemplateID(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
The identifier.
|
Returns
Title(String)
Specifies the title's text.
Declaration
public MobileNavigationBarPropertiesBuilder Title(string title)
Parameters
Type |
Name |
Description |
System.String |
title |
The title.
|
Returns
TitleAlignment(TitleAlignment)
Specifies the title text alignment.
Declaration
public MobileNavigationBarPropertiesBuilder TitleAlignment(TitleAlignment titleAlignment)
Parameters
Type |
Name |
Description |
TitleAlignment |
titleAlignment |
The title alignment.
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Windows(Action<MobileNavigationBarWindowsPropertiesBuilder>)
Declaration
public MobileNavigationBarPropertiesBuilder Windows(Action<MobileNavigationBarWindowsPropertiesBuilder> windowsModel)
Parameters
Returns
Implements
System.Web.IHtmlString