Beispiel #1
0
 public static StringFormat StringFormatForAlignment(ContentAlignment align)
 {
     return(new StringFormat()
     {
         Alignment = TelerikAlignHelper.TranslateAlignment(align),
         LineAlignment = TelerikAlignHelper.TranslateLineAlignment(align)
     });
 }
 public static TextImageRelation TextAlignToRelation(ContentAlignment alignment)
 {
     return(LayoutUtils.GetOppositeTextImageRelation(TelerikAlignHelper.ImageAlignToRelation(alignment)));
 }