示例#1
0
 /// <summary>
 /// 指定した <see cref="Microsoft.Phone.Controls.PivotItem"/> から
 /// <see cref="P:Kanpuchi.Interactivity.PivotApplicationBar.CommandBindings"/>
 /// プロパティの値を取得します。
 /// </summary>
 /// <param name="element"><see cref="Microsoft.Phone.Controls.PivotItem"/>。</param>
 /// <returns>
 /// <see cref="Karamem0.Kanpuchi.Interactivity.PivotApplicationBarCommandBindingCollection"/>。
 /// </returns>
 public static PivotApplicationBarCommandBindingCollection GetCommandBindings(PivotItem element)
 {
     return((PivotApplicationBarCommandBindingCollection)element.GetValue(CommandBindingsProperty));
 }
示例#2
0
 /// <summary>
 /// 指定した <see cref="Microsoft.Phone.Controls.PivotItem"/> から
 /// <see cref="P:Kanpuchi.Interactivity.PivotSelection.UnselectedCommandBinding"/>
 /// プロパティの値を取得します。
 /// </summary>
 /// <param name="element"><see cref="Microsoft.Phone.Controls.PivotItem"/>。</param>
 /// <returns><see cref="Karamem0.Kanpuchi.Interactivity.PivotSelectionCommandBinding"/>。</returns>
 public static PivotSelectionCommandBinding GetUnselectedCommandBinding(PivotItem element)
 {
     return((PivotSelectionCommandBinding)element.GetValue(UnselectedCommandBindingProperty));
 }
示例#3
0
 /// <summary>
 /// 指定した <see cref="Microsoft.Phone.Controls.PivotItem"/> から
 /// <see cref="P:Kanpuchi.Interactivity.PivotApplicationBar.ApplicationBar"/>
 /// プロパティの値を取得します。
 /// </summary>
 /// <param name="element"><see cref="Microsoft.Phone.Controls.PivotItem"/>。</param>
 /// <returns><see cref="Microsoft.Phone.Shell.ApplicationBar"/>。</returns>
 public static ApplicationBar GetApplicationBar(PivotItem element)
 {
     return((ApplicationBar)element.GetValue(ApplicationBarProperty));
 }