Skip to main content
A newer version of this page is available. .

CommandButton.EllipseDiameter Property

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

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public double EllipseDiameter { get; set; }

Property Value

Type Description
Double

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

Remarks

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

See Also