共用方式為


GreedyWrapPanel.ActualWrappingLevels Property

Definition

Readonly property that is the actual number of levels we are using, regardless of what MaxLevels is set to. For Orientation=Vertical, this corresponds to Columns, while for Orientation=Horizontal, this corresponds to Rows. If 1, this acts like a normal StackPanel. Value must be set to a value greater than zero.

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

Property Value

Returns Int32.

Applies to