Uredi

Deli z drugimi prek


DefinitionBase.SharedSizeGroup Property

Definition

Gets or sets a value that identifies a ColumnDefinition or RowDefinition as a member of a defined group that shares sizing properties.

public:
 property System::String ^ SharedSizeGroup { System::String ^ get(); void set(System::String ^ value); };
public string SharedSizeGroup { get; set; }
member this.SharedSizeGroup : string with get, set
Public Property SharedSizeGroup As String

Property Value

A String that identifies a shared-size group.

Remarks

Columns and rows that participate in size-sharing do not respect Star sizing. In the size-sharing scenario, Star sizing is treated as Auto.

Grid size-sharing does not work if you set IsSharedSizeScope to true within a resource template and you define SharedSizeGroup as outside that template.

The SharedSizeGroup property value must satisfy the following rules:

  • Must not be empty.

  • Must only consist of letters, digits, and underscore characters.

  • Must not start with a numeric value.

Dependency Property Information

Identifier field SharedSizeGroupProperty
Metadata properties set to true Inherits

Applies to

See also