C# NX二次开发:操作按钮控件Button和标签控件Label详解

大家好,今天介绍ug二次开发过程中的一个叫操作按钮的控件,这个控件在块UI编辑器中可以使用。

​

Button这个控件的属性和方法如下所示:

namespace NXOpen.BlockStyler

{

public class Label : UIBlock

{

protected internal Label();

public string BalloonTooltipImage { get; set; }

public string BalloonTooltipLayoutAsString { get; set; }

public string BalloonTooltipText { get; set; }

public string Bitmap { get; set; }

public bool DisplayBitmapLabel { get; set; }

public bool HighQualityBitmap { get; set; }

public bool Localize { get; set; }

public string Tooltip { get; set; }

public bool WordWrap { get; set; }

public string\[\] GetBalloonTooltipLayoutMembers();

}

}

Label这个控件的属性和方法如下所示:

namespace NXOpen.BlockStyler

{

public class Label : UIBlock

{

protected internal Label();

public string BalloonTooltipImage { get; set; }

public string BalloonTooltipLayoutAsString { get; set; }

public string BalloonTooltipText { get; set; }

public string Bitmap { get; set; }

public bool DisplayBitmapLabel { get; set; }

public bool HighQualityBitmap { get; set; }

public bool Localize { get; set; }

public string Tooltip { get; set; }

public bool WordWrap { get; set; }

public string\[\] GetBalloonTooltipLayoutMembers();

}

}

今天要介绍的就是这么多,我们下篇文章再见。

相关推荐
jimy14 分钟前
c++的静态类型和动态类型(二)
开发语言·c++
吠品5 分钟前
箭头函数为什么不能 new
开发语言·javascript·原型模式
谢亮_vipxieliang13 分钟前
PHP 8 新特性:构造器属性提升与实战
开发语言·后端·php
鬼手点金23 分钟前
opencode-crawl4ai使用建议
java·开发语言·人工智能·python·机器学习
鑫 源33 分钟前
C#源码开源, 获取macOS 电池数据,包括iOS (xamarin开发)
c#·.net·xamarin
谢亮_vipxieliang42 分钟前
Go select 多路复用:从语法到实战的完整指南
开发语言·后端·golang
2601_9628857211 小时前
如何用 Python 自动识别股票的支撑位与压力位?
开发语言·python
爱吃奥利奥_wen11 小时前
面向对象三板斧:封装、继承、多态,到底在“装“什么、“承“什么、“变“什么?
开发语言·经验分享·c#
我可能是个假开发11 小时前
FTP Unicode 文件名导致 `550` 的问题分析与解决方案
java·开发语言·spring
WL学习笔记12 小时前
日期类(C++)
开发语言·c++·日期类实现