編輯

共用方式為


ScrollProperties.Maximum Property

Definition

Gets or sets the upper limit of the scrollable range.

public:
 property int Maximum { int get(); void set(int value); };
public int Maximum { get; set; }
member this.Maximum : int with get, set
Public Property Maximum As Integer

Property Value

An Int32 representing the maximum range of the scroll bar.

Remarks

If the new value of Maximum is less than Minimum, then Minimum is set equal to Maximum.

Applies to