/// <summary> /// Sets the title of the tab panel with the specified value. /// </summary> /// <param name="title">The value of the title.</param> /// <returns>Current component.</returns> public override TabPanel Title(TabPanelTitleBase title) { base.Title(title); if (_color != null) { TitleValue.Color(_color); } return(this); }
/// <summary> /// Sets the color of the tab panel. /// </summary> /// <param name="color">The value of color.</param> /// <returns>Current component.</returns> public YimaTabPanel Color(BootstrapColorBase color) { _color = color; if (TitleValue != null) { TitleValue.Color(_color); } if (ContentValue != null) { ContentValue.Color(_color); } return(this); }