DefinitionBase.SharedSizeGroup 屬性

定義

取得或設定值,這個值會將 ColumnDefinitionRowDefinition 識別為共用大小屬性之已定義群組的成員。

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

屬性值

識別共用大小群組的 String

備註

參與大小共用的資料行和資料列不會遵守 Star 調整大小。 在大小共用案例中, Star 調整大小會視為 Auto

Grid 如果您在資源範本內設定 IsSharedSizeScopetrue ,且定義為 SharedSizeGroup 該範本外部,則 size-sharing 無法運作。

SharedSizeGroup屬性值必須滿足下列規則:

  • 不能空白。

  • 只能包含字母、數位和底線字元。

  • 不得以數值開頭。

相依性屬性資訊

識別碼欄位 SharedSizeGroupProperty
設定為 的中繼資料屬性 true Inherits

適用於

另請參閱