語言

BitmapEffectInput.AreaToApplyEffect 屬性

定義

注意:此 API 現在已過時。 非過時的替代方法是 Effect。 在應用 的 BitmapEffect 視覺上取得或設定一個矩形區域。

public:
 property System::Windows::Rect AreaToApplyEffect { System::Windows::Rect get(); void set(System::Windows::Rect value); };
public System.Windows.Rect AreaToApplyEffect { get; set; }
member this.AreaToApplyEffect : System.Windows.Rect with get, set
Public Property AreaToApplyEffect As Rect

屬性值

視覺中施加該效果的矩形區域。 預設值為 Empty。

備註

當矩形的 a Width 或 Height 等於 0 時,該效果不會套用到視覺上。

BitmapEffectInput 根據元素背景是否透明,會表達不同的行為。 若沒有背景存在或定義 UIElement ,則僅考慮子節點的大小,座標起點從視覺渲染開始處開始。

相依財產資訊

Item 價值觀
識別碼欄位 AreaToApplyEffectProperty
元資料屬性設為 true None

適用於