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();
}
}
今天要介绍的就是这么多,我们下篇文章再见。