ListView.LabelWrap 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,表示當項目以圖示顯示時,項目標籤是否會包裹。
public:
property bool LabelWrap { bool get(); void set(bool value); };
public bool LabelWrap { get; set; }
member this.LabelWrap : bool with get, set
Public Property LabelWrap As Boolean
屬性值
true如果物品標籤在以圖示顯示時會包裹;否則,。 false 預設值為 true。
備註
當屬性 LabelWrap 設定為 true時,項目文字會如有需要時換行到下一行文字。 若文字長度超過兩行,則文字會被縮短。 如果使用者選擇該項目,所有項目文字都會顯示出來。 若屬性 LabelWrap 設定為 false,所有項目文字會顯示在一行內。 當 將 LabelWrap 設為 false時,整個項目文字會顯示。 此屬性僅在設定為 LargeIcon 或 SmallIcon時使用View。