点击或拖拽改变大小

PropertyManagerPageGroupExtensionAddWPFUserControl 方法

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <summary> 文档]

命名空间:  Du.SolidWorks.Extension
程序集:  Du.SolidWorks (在 Du.SolidWorks.dll 中) 版本:0.1.1.0 (0.1.1)
语法
public static IPropertyManagerPageWindowFromHandle AddWPFUserControl(
	this IPropertyManagerPageGroup group,
	int id,
	string caption,
	string tip,
	swPropertyManagerPageControlLeftAlign_e leftAlign,
	IEnumerable<swAddControlOptions_e> options,
	Action<IPropertyManagerPageWindowFromHandleWrapper> uiElementConfig
)

参数

group
类型:IPropertyManagerPageGroup

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="group"/> 文档]

id
类型:SystemInt32

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="id"/> 文档]

caption
类型:SystemString

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="caption"/> 文档]

tip
类型:SystemString

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="tip"/> 文档]

leftAlign
类型:swPropertyManagerPageControlLeftAlign_e

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="leftAlign"/> 文档]

options
类型:System.Collections.GenericIEnumerableswAddControlOptions_e

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="options"/> 文档]

uiElementConfig
类型:SystemActionIPropertyManagerPageWindowFromHandleWrapper

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <param name="uiElementConfig"/> 文档]

返回值

类型:IPropertyManagerPageWindowFromHandle

[缺少 "M:Du.SolidWorks.Extension.PropertyManagerPageGroupExtension.AddWPFUserControl(SolidWorks.Interop.sldworks.IPropertyManagerPageGroup,System.Int32,System.String,System.String,SolidWorks.Interop.swconst.swPropertyManagerPageControlLeftAlign_e,System.Collections.Generic.IEnumerable{SolidWorks.Interop.swconst.swAddControlOptions_e},System.Action{Du.SolidWorks.Extension.IPropertyManagerPageWindowFromHandleWrapper})" 的 <returns> 文档]

备注

在 Visual Basic 和 C# 中,这个方法可以当成为类型 IPropertyManagerPageGroup 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考 扩展方法 (Visual Basic)扩展方法 (C# 编程指南) 获取更多信息。
参见