Пример #1
0
 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));
 }