コード例 #1
0
ファイル: GlyphButton.cs プロジェクト: musli/MagneticCrawler
 public static object Box(bool?nullableValue)
 {
     if (!nullableValue.HasValue)
     {
         return(null);
     }
     return(Boxes.Box(nullableValue.Value));
 }
コード例 #2
0
 protected static void SetIsLast(UIElement element, bool value)
 {
     element.SetValue(SplitterPanel.IsLastPropertyKey, Boxes.Box(value));
 }