Example #1
0
 /// <summary>
 /// Sets the horizontal alignment of this child view.
 /// </summary>
 /// <param name="view">The child view.</param>
 /// <param name="value">The horizontal alignment of <paramref name="view"/>.</param>
 /// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
 /// <since_tizen> 9 </since_tizen>
 public static void SetHorizontalAlignment(View view, Alignment value) => SetAttachedValue(view, HorizontalAlignmentProperty, value);
Example #2
0
 /// <summary>
 /// Sets the vertical alignment of this child view.
 /// </summary>
 /// <param name="view">The child view.</param>
 /// <param name="value">The vertical alignment of <paramref name="view"/>.</param>
 /// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
 /// <since_tizen> 9 </since_tizen>
 public static void SetVerticalAlignment(View view, Alignment value) => SetAttachedValue(view, VerticalAlignmentProperty, value);
Example #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Alignment obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr);
 }