Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxUIItemDefinition.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxUIItemDefinition : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxUIItemDefinition(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxUIItemDefinition obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 if (swigCPtr.Handle != IntPtr.Zero)
43 {
44 if (swigCMemOwn)
45 {
46 lock (locker)//(this)
47 {
48 if ((swigCPtr.Handle != IntPtr.Zero) && (swigCMemOwn))
49 {
50 swigCMemOwn = false;
51 throw new MethodAccessException("C++ destructor does not have public access");
52 }
53 }
54 swigCMemOwn = false;
55 }
56 swigCPtr = new HandleRef(null, IntPtr.Zero);
57 }
58 GC.SuppressFinalize(this);
59 }
60
65
71
72 public virtual CFxUIContext GetContext() {
73 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIItemDefinition_GetContext(swigCPtr);
74 CFxUIContext ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIContext(cPtr, false);
76 return ret;
77 }
78
84
89
95
100
106
112
118
124
129
135
140
146
151
157
162
168
169}
170
171}
static HandleRef getCPtr(CFxString obj)
Definition CFxString.cs:28
virtual CFxString GetLightIconInfo(CFxString iconResource)
virtual void SetDarkIconInfo(CFxString iconName, CFxString iconResource)
virtual void Dispose(bool disposing)
virtual void SetCommand(CFxString command)
virtual void SetDescription(CFxString description)
virtual CFxString GetDarkIconInfo(CFxString iconResource)
virtual void SetLightIconInfo(CFxString iconName, CFxString iconResource)
virtual void SetName(CFxString name)
CFxUIItemDefinition(IntPtr cPtr, bool cMemoryOwn)
virtual void SetObsolete(bool bObsolete)
virtual SWIGTYPE_p_QIcon GetDarkIcon(int iSize)
static HandleRef getCPtr(CFxUIItemDefinition obj)
virtual SWIGTYPE_p_QIcon GetIcon(int iSize)
virtual void SetID(CFxString sId)
virtual SWIGTYPE_p_QIcon GetLightIcon(int iSize)
static bool CFxUIItemDefinition_IsObsolete(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIItemDefinition_SetName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetDarkIcon(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool CFxUIItemDefinition_IsRuntime(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIItemDefinition_SetDescription(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetLightIcon(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetIcon(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetID(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIItemDefinition_SetDarkIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr CFxUIItemDefinition_GetCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetLightIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIItemDefinition_SetObsolete(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetDarkIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIItemDefinition_SetLightIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxUIItemDefinition_SetCommand(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIItemDefinition_SetID(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)