Example #1
0
 public static void SetMinWidth(Object obj, Length width)
 {
     if (_attachedMinWidths == null)
     {
         _attachedMinWidths = new Dictionary <Object, Length>();
     }
     AttachedHelpers.SetAttached(_attachedMinWidths, obj, width);
 }
Example #2
0
 public static void SetVAlign(Object obj, AlignItem vAlign)
 {
     if (_attachedVAlign == null)
     {
         _attachedVAlign = new Dictionary <Object, AlignItem>();
     }
     AttachedHelpers.SetAttached(_attachedVAlign, obj, vAlign);
 }
Example #3
0
 public static void SetSkip(Object obj, Boolean skip)
 {
     if (_attachedSkip == null)
     {
         _attachedSkip = new Dictionary <Object, Boolean>();
     }
     AttachedHelpers.SetAttached(_attachedSkip, obj, skip);
 }
Example #4
0
 public static void SetRowSpan(Object obj, Int32 span)
 {
     if (_attachedRowSpan == null)
     {
         _attachedRowSpan = new Dictionary <Object, Int32>();
     }
     AttachedHelpers.SetAttached(_attachedRowSpan, obj, span);
 }
Example #5
0
 public static void SetRow(Object obj, Int32 row)
 {
     if (_attachedRow == null)
     {
         _attachedRow = new Dictionary <Object, Int32>();
     }
     AttachedHelpers.SetAttached(_attachedRow, obj, row);
 }
Example #6
0
 public static void SetCol(Object obj, Int32 col)
 {
     if (_attachedColumn == null)
     {
         _attachedColumn = new Dictionary <Object, Int32>();
     }
     AttachedHelpers.SetAttached(_attachedColumn, obj, col);
 }
Example #7
0
 public static void SetAlign(Object obj, ToolbarAlign aln)
 {
     if (_attachedPart == null)
     {
         _attachedPart = new Dictionary <Object, ToolbarAlign>();
     }
     AttachedHelpers.SetAttached(_attachedPart, obj, aln);
 }
Example #8
0
 public static void SetFill(Object obj, Boolean fill)
 {
     if (_attachedFill == null)
     {
         _attachedFill = new Dictionary <Object, Boolean>();
     }
     AttachedHelpers.SetAttached(_attachedFill, obj, fill);
 }
Example #9
0
 public static Length GetMinWidth(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedMinWidths, obj));
 }
Example #10
0
 public static GridLength GetWidth(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedWidths, obj));
 }
Example #11
0
 public static Boolean?GetSkip(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedSkip, obj));
 }
Example #12
0
 public static Boolean?GetFill(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedFill, obj));
 }
Example #13
0
 public static AlignItem?GetVAlign(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedVAlign, obj));
 }
Example #14
0
 public static Int32?GetRowSpan(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedRowSpan, obj));
 }
Example #15
0
 public static Int32?GetCol(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedColumn, obj));
 }
Example #16
0
 public static ToolbarAlign GetAlgin(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedPart, obj));
 }
Example #17
0
 public static VerticalAlign?GetVAlign(Object obj)
 {
     return(AttachedHelpers.GetAttached(_attachedVAlign, obj));
 }