Class JCVisualWrapper
- Namespace
- MASES.JCOBridge.C2JBridge.J2CBridgeWrapper
- Assembly
- C2JBridgeDesktop.dll
JCVisualWrapper
public class JCVisualWrapper : IJCVisualWrapper
- Inheritance
-
JCVisualWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
JCVisualWrapper(string)
Ctor
public JCVisualWrapper(string objType)
Parameters
objType
string
Properties
Application
Application
public static Application Application { get; }
Property Value
ContainerHWND
ContainerHWND
public nint ContainerHWND { get; set; }
Property Value
IsDispatcherThread
IsDispatcherThread
public static bool IsDispatcherThread { get; }
Property Value
IsWPF
True in case of WPF control
public bool IsWPF { get; }
Property Value
MyHWND
MyHWND
public nint MyHWND { get; }
Property Value
ReferenceObject
The object referenced
public object ReferenceObject { get; }
Property Value
ThreadStarted
ThreadStarted
public static bool ThreadStarted { get; }
Property Value
Methods
DispatcherExceptionLock()
DispatcherExceptionLock
public static void DispatcherExceptionLock()
DispatcherExceptionUnlock()
DispatcherExceptionUnlock
public static void DispatcherExceptionUnlock()
DispatcherGet(Type, object, string)
DispatcherGet
public static object DispatcherGet(Type targetType, object targetObject, string fieldName)
Parameters
Returns
DispatcherInvoke(Type, object, string, params object[])
DispatcherInvoke
public static object DispatcherInvoke(Type targetType, object targetObject, string methodName, params object[] param)
Parameters
Returns
DispatcherSet(Type, object, string, object)
DispatcherSet
public static void DispatcherSet(Type targetType, object targetObject, string fieldName, object value)
Parameters
Get(string)
Gets a property from the visual object
public object Get(string fieldName)
Parameters
fieldName
string
Returns
Invoke(string, params object[])
Invokes a method on the visual object
public object Invoke(string methodName, params object[] param)
Parameters
Returns
Lock()
Lock the visual wrapper
public void Lock()
PositionAndResize(bool, int, int, int, int)
Method used to propagate changes on visibility, position and size
public void PositionAndResize(bool isShowing, int x, int y, int width, int height)
Parameters
Release()
Release the visual wrapper
public void Release()
ReleaseWindow(IJCVisualWrapper)
ReleaseWindow
public void ReleaseWindow(IJCVisualWrapper iwrapper)
Parameters
iwrapper
IJCVisualWrapper
Set(string, object)
Sets a property on the visual object
public void Set(string fieldName, object value)
Parameters
Unlock()
Unlock the visual wrapper
public void Unlock()