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

備註

當矩形的 WidthHeight 等於 0時,效果將不會套用至視覺效果。

BitmapEffectInput 根據專案的背景是否透明,表示不同的行為。 如果沒有背景存在或定義, UIElement 則只會考慮其大小的子系,以及開始視覺轉譯開始之座標的起點。

相依性屬性資訊

識別碼欄位 AreaToApplyEffectProperty
中繼資料屬性設定為 true

適用於