語言

XamlType.TrimSurroundingWhitespace 屬性

定義

會得到一個值,表示該資料 XamlType 是否有序列化的留白處理行為,能裁掉內容中周圍的空白。

public:
 property bool TrimSurroundingWhitespace { bool get(); };
public bool TrimSurroundingWhitespace { get; }
member this.TrimSurroundingWhitespace : bool
Public ReadOnly Property TrimSurroundingWhitespace As Boolean

屬性值

true 若此類型 XamlType 使用空白裁剪;否則, false。

備註

如果你不使用預設的內部 CLR 反射技術, XamlType呼叫此屬性可能會對衍生類別進行 LookupIsWhitespaceSignificantCollection 覆寫 XamlType 。 欲了解更多關於回傳值及其他行為的資訊,請參閱此類型的文件 LookupIsWhitespaceSignificantCollection 。

適用於