ToolStrip
Description
Usage
<WMStyleBase model=@toolStrip></WMStyleBase>
@if (toolStrip.ShowItemToolTips)
{
<WMToolTipComponent [email protected]></WMToolTipComponent>
}
<TelerikToolBar Class=@($"{this.toolStrip.GetStringClasses()} {GetAutoSizeClass()}")>
@foreach (var item in toolStrip.Items)
{
@if (item is ToolStripLabel toolStripLabel)
{
<WMToolStripLabel model=@toolStripLabel></WMToolStripLabel>
}
@if (item is ToolStripButton toolStripButton)
{
<WMToolStripButton model=@toolStripButton></WMToolStripButton>
}
@if (item is ToolStripSeparator toolStripSeparator)
{
<WMToolStripSeparator model=@toolStripSeparator></WMToolStripSeparator>
}
}
</TelerikToolBar>
<style>
[email protected]() {
padding: 1px;
align-items: stretch;
}
.@(model.GetComponentClass() + ".AutoSize") {
height: auto;
}
</style>
Properties
Methods
Dynamic Rendering
Styles
Events
Last updated