本文整理汇总了C#中PropertyMode类的典型用法代码示例。如果您正苦于以下问题:C# PropertyMode类的具体用法?C# PropertyMode怎么用?C# PropertyMode使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PropertyMode类属于命名空间,在下文中一共展示了PropertyMode类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: XChangeProperty
internal extern static int XChangeProperty(IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, string text, int text_length);
示例2: XChangeProperty
public extern static int XChangeProperty(IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, IntPtr[] data, int nelements);
示例3: _XChangeProperty
internal extern static int _XChangeProperty(IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, uint[] data, int nelements);
示例4: XChangeProperty
internal static extern int XChangeProperty(IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, ref IntPtr value, int nelements);
示例5: XChangeProperty
internal extern static int XChangeProperty (IntPtr display, IntPtr window, int property, int format, int type, PropertyMode mode, uint[] atoms, int nelements);
示例6: XChangeProperty
public static int XChangeProperty(IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, ref int value, int nelements);
示例7: SetProperty
public void SetProperty(CameraProperty prop, int val, PropertyMode flags)
{
addLog("SetProperty...");
if (cam == null)
{
addLog("SetProperty no cam!");
return;
}
switch (prop)
{
case CameraProperty.Illumination:
if (cam.Features.Torch.Available)
cam.Features.Torch.CurrentValue = cam.Features.Torch.MaxValue;
break;
case CameraProperty.ColorEnable:
break;
}
addLog("SetProperty done");
}