1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>A custom layout engine for <see cref="Efl.Ui.Box"/>.</summary>
13 [Efl.Ui.BoxFlow.NativeMethods]
14 [Efl.Eo.BindingEntity]
15 public class BoxFlow : Efl.Ui.Box
17 ///<summary>Pointer to the native class description.</summary>
18 public override System.IntPtr NativeClass
22 if (((object)this).GetType() == typeof(BoxFlow))
24 return GetEflClassStatic();
28 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
33 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
34 efl_ui_box_flow_class_get();
35 /// <summary>Initializes a new instance of the <see cref="BoxFlow"/> class.</summary>
36 /// <param name="parent">Parent instance.</param>
37 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
38 public BoxFlow(Efl.Object parent
39 , System.String style = null) : base(efl_ui_box_flow_class_get(), parent)
41 if (Efl.Eo.Globals.ParamHelperCheck(style))
43 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
46 FinishInstantiation();
49 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
50 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
51 protected BoxFlow(ConstructingHandle ch) : base(ch)
55 /// <summary>Initializes a new instance of the <see cref="BoxFlow"/> class.
56 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
57 /// <param name="wh">The native pointer to be wrapped.</param>
58 protected BoxFlow(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
62 /// <summary>Initializes a new instance of the <see cref="BoxFlow"/> class.
63 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
64 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
65 /// <param name="parent">The Efl.Object parent of this instance.</param>
66 protected BoxFlow(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
70 private static IntPtr GetEflClassStatic()
72 return Efl.Ui.BoxFlow.efl_ui_box_flow_class_get();
74 /// <summary>Wrapper for native methods and virtual method delegates.
75 /// For internal use by generated code only.</summary>
76 public new class NativeMethods : Efl.Ui.Box.NativeMethods
78 /// <summary>Gets the list of Eo operations to override.</summary>
79 /// <returns>The list of Eo operations to be overload.</returns>
80 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
82 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
83 descs.AddRange(base.GetEoOps(type));
86 /// <summary>Returns the Eo class for the native methods of this class.</summary>
87 /// <returns>The native class pointer.</returns>
88 public override IntPtr GetEflClass()
90 return Efl.Ui.BoxFlow.efl_ui_box_flow_class_get();
93 #pragma warning disable CA1707, CS1591, SA1300, SA1600
95 #pragma warning restore CA1707, CS1591, SA1300, SA1600