コード例 #1
0
 /// <summary>
 /// Set ViewStateManager as an attached property on an object. This method is for XAML serialization purpose only and is not expected to be used by developers.
 /// </summary>
 /// <param name="instance">Instance object to attach ViewStateManager property on</param>
 /// <param name="viewStateManager">ViewStateManager object to attach</param>
 public static void SetViewStateManager(object instance, ViewStateManager viewStateManager)
 {
     AttachablePropertyServices.SetProperty(instance, ViewStateManagerProperty, viewStateManager);
 }
コード例 #2
0
 /// <summary>
 /// Set ViewStateManager as an attached property on an object. This method is for XAML serialization purpose only and is not expected to be used by developers.
 /// </summary>
 /// <param name="instance">Instance object to attach ViewStateManager property on</param>
 /// <param name="viewStateManager">ViewStateManager object to attach</param>
 public static void SetViewStateManager(object instance, ViewStateManager viewStateManager)
 {
     AttachablePropertyServices.SetProperty(instance, ViewStateManagerProperty, viewStateManager);
 }