DxRibbonSpinEditItem<TValue>.Width Property
Specifies ribbon spin editor item width.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue("auto")]
[Parameter]
public string Width { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | "auto" | The width in CSS units. |
Remarks
Use the Width
property to specify the size of the spin editor item.
...
<DxRibbonSpinEditItem Value="@CurrentFontSize"
ValueChanged="@((int newSize) => OnFontSizeChanged(newSize))"
MinValue="6"
MaxValue="32"
Increment="2"
Width="100px"/>
...
@code {
private int CurrentFontSize { get; set; } = 8;
void OnFontSizeChanged(int newSize) {
// Your code
}
}
See Also