Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CommandButton.StrokeThickness Property

Gets or sets the width of the button outline. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public double StrokeThickness { get; set; }

#Property Value

Type Description
Double

A Double value that specifies the width, in pixels, of the button outline. The default is 3.

#Remarks

If the CommandButton.IsEllipseEnabled property is set to True, the current button displays the elliptical outline. The StrokeThickness property allows you to adjust the outline width. You can also specify the diameter of the ellipse using the CommandButton.EllipseDiameter property.

See Also