HypernovaDesktop Components · docs
Binarymission
WinForms › Office Window › WindowEdgeCornerRadius

WindowEdgeCornerRadius

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.Windows

How far the corners of a ModernChromeWindow are rounded, while ModernChromeWindow.ShouldDrawWindowEdgesWithRoundedCorners is on.

public sealed class WindowEdgeCornerRadius

Members at a glance

Constructors
WindowEdgeCornerRadiusInitializes a new instance of the WindowEdgeCornerRadius class with the two radii that round a window corner.
Properties
XFactorGets or sets the width of each corner's curve, in logical pixels.
YFactorGets or sets the height of each corner's curve, in logical pixels.
Methods
ToStringReturns a short description of this WindowEdgeCornerRadius, which is what the designer shows for the property.

Constructors

WindowEdgeCornerRadius

public WindowEdgeCornerRadius(int xFactor, int yFactor)

Initializes a new instance of the WindowEdgeCornerRadius class with the two radii that round a window corner.

Parameters
xFactor
The horizontal radius.
yFactor
The vertical radius.

Properties

XFactor

public int XFactor

Gets or sets the width of each corner's curve, in logical pixels.

YFactor

public int YFactor

Gets or sets the height of each corner's curve, in logical pixels.

Methods

ToString

public override string ToString()

Returns a short description of this WindowEdgeCornerRadius, which is what the designer shows for the property.