2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Elementary layout internal part class</summary>
14 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
15 [Efl.Ui.LayoutPart.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public class LayoutPart : Efl.Ui.WidgetPart
19 /// <summary>Pointer to the native class description.</summary>
20 public override System.IntPtr NativeClass
24 if (((object)this).GetType() == typeof(LayoutPart))
26 return GetEflClassStatic();
30 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
35 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
36 efl_ui_layout_part_class_get();
37 /// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.</summary>
38 /// <param name="parent">Parent instance.</param>
39 public LayoutPart(Efl.Object parent= null
40 ) : base(efl_ui_layout_part_class_get(), parent)
42 FinishInstantiation();
45 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
46 /// Do not call this constructor directly.</summary>
47 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
48 protected LayoutPart(ConstructingHandle ch) : base(ch)
52 /// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.
53 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
54 /// <param name="wh">The native pointer to be wrapped.</param>
55 protected LayoutPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
59 /// <summary>Initializes a new instance of the <see cref="LayoutPart"/> class.
60 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
61 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
62 /// <param name="parent">The Efl.Object parent of this instance.</param>
63 protected LayoutPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
67 private static IntPtr GetEflClassStatic()
69 return Efl.Ui.LayoutPart.efl_ui_layout_part_class_get();
71 /// <summary>Wrapper for native methods and virtual method delegates.
72 /// For internal use by generated code only.</summary>
73 public new class NativeMethods : Efl.Ui.WidgetPart.NativeMethods
75 /// <summary>Gets the list of Eo operations to override.</summary>
76 /// <returns>The list of Eo operations to be overload.</returns>
77 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
79 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
80 descs.AddRange(base.GetEoOps(type));
83 /// <summary>Returns the Eo class for the native methods of this class.</summary>
84 /// <returns>The native class pointer.</returns>
85 public override IntPtr GetEflClass()
87 return Efl.Ui.LayoutPart.efl_ui_layout_part_class_get();
90 #pragma warning disable CA1707, CS1591, SA1300, SA1600
92 #pragma warning restore CA1707, CS1591, SA1300, SA1600
101 #pragma warning disable CS1591
102 public static class Efl_UiLayoutPart_ExtensionMethods {
104 #pragma warning restore CS1591