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