RenderOptions.BitmapScalingMode 附加屬性

定義

取得或設定所指定 BitmapScalingModeDependencyObject

see GetBitmapScalingMode, and SetBitmapScalingMode
see GetBitmapScalingMode, and SetBitmapScalingMode
see GetBitmapScalingMode, and SetBitmapScalingMode

備註

BitmapScalingMode 以動畫顯示點陣圖的 UIElementDrawingGroup 子系上使用 屬性。

建立任何點陣圖的比例動畫時,預設的高品質影像重新取樣演算法有時會耗用過多系統資源,導致畫面播放速率降低,從而造成動畫中斷。 藉由將 BitmapScalingMode 屬性設定為 BitmapScalingMode.LowQuality ,您可以在調整點陣圖時建立更順暢的動畫。

若要在程式碼中存取此屬性,請使用 GetBitmapScalingModeSetBitmapScalingMode 方法。

相依性屬性資訊

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

適用於

另請參閱