#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
namespace Efl { namespace Ui {
/// Elementary Efl_Ui_List_View pan class
[ListViewPanNativeInherit]
public class ListViewPan : Efl.Ui.Pan, Efl.Eo.IWrapper
{
public new static System.IntPtr klass = System.IntPtr.Zero;
public new static Efl.Ui.ListViewPanNativeInherit nativeInherit = new Efl.Ui.ListViewPanNativeInherit();
///Pointer to the native class description.
public override System.IntPtr NativeClass {
get {
if (((object)this).GetType() == typeof (ListViewPan))
return Efl.Ui.ListViewPanNativeInherit.GetEflClassStatic();
else
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
}
}
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_list_view_pan_class_get();
///Creates a new instance.
///Parent instance.
public ListViewPan(Efl.Object parent= null
) :
base(efl_ui_list_view_pan_class_get(), typeof(ListViewPan), parent)
{
FinishInstantiation();
}
///Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.
public ListViewPan(System.IntPtr raw) : base(raw)
{
register_event_proxies();
}
///Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.
protected ListViewPan(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
///Casts obj into an instance of this type.
public new static ListViewPan static_cast(Efl.Object obj)
{
if (obj == null)
throw new System.ArgumentNullException("obj");
return new ListViewPan(obj.NativeHandle);
}
///Verifies if the given object is equal to this one.
public override bool Equals(object obj)
{
var other = obj as Efl.Object;
if (other == null)
return false;
return this.NativeHandle == other.NativeHandle;
}
///Gets the hash code for this object based on the native pointer it points to.
public override int GetHashCode()
{
return this.NativeHandle.ToInt32();
}
///Turns the native pointer into a string representation.
public override String ToString()
{
return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
}
protected override void register_event_proxies()
{
base.register_event_proxies();
}
private static new IntPtr GetEflClassStatic()
{
return Efl.Ui.ListViewPan.efl_ui_list_view_pan_class_get();
}
}
public class ListViewPanNativeInherit : Efl.Ui.PanNativeInherit{
public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
public override System.Collections.Generic.List GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List();
descs.AddRange(base.GetEoOps(type));
return descs;
}
public override IntPtr GetEflClass()
{
return Efl.Ui.ListViewPan.efl_ui_list_view_pan_class_get();
}
public static new IntPtr GetEflClassStatic()
{
return Efl.Ui.ListViewPan.efl_ui_list_view_pan_class_get();
}
}
} }