UISegmentedControl.ApportionsSegmentWidthsByContent 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
允許區段控制項根據每個內容寬度調整每個區段的寬度。
public virtual bool ApportionsSegmentWidthsByContent { [Foundation.Export("apportionsSegmentWidthsByContent")] get; [Foundation.Export("setApportionsSegmentWidthsByContent:")] set; }
member this.ApportionsSegmentWidthsByContent : bool with get, set
屬性值
- 屬性
備註
如果設定為 true 且線段寬度為 0,區段控制項會嘗試調整區段的大小以符合其內容。