Skip to content

FrameworkElement.MaxWidth property

Gets or sets the maximum width in DIPs; the default is no bound.

public double MaxWidth { get; set; }
exception condition
ArgumentOutOfRangeException The value is negative.

Fluent: .MaxWidth(Double)