ScrollViewer.SetIsZoomChainingEnabled(DependencyObject, Boolean) 方法

定義

在指定的專案上設定 IsZoomChainingEnabled 相依性屬性 / ScrollViewer.IsZoomChainingEnabled XAML 附加屬性的值。

public:
 static void SetIsZoomChainingEnabled(DependencyObject ^ element, bool isZoomChainingEnabled);
 static void SetIsZoomChainingEnabled(DependencyObject const& element, bool const& isZoomChainingEnabled);
public static void SetIsZoomChainingEnabled(DependencyObject element, bool isZoomChainingEnabled);
function setIsZoomChainingEnabled(element, isZoomChainingEnabled)
Public Shared Sub SetIsZoomChainingEnabled (element As DependencyObject, isZoomChainingEnabled As Boolean)

參數

element
DependencyObject

要設定屬性值的項目。

isZoomChainingEnabled
Boolean

bool

要設定的值。

備註

如需詳細資訊,請參閱 IsZoomChainingEnabled 屬性。

適用於

另請參閱