Click or drag to resize

PropertyManagerPageElementExGetSwControlT Method

Gets the underlying SOLIDWORKS Property Manager Page control

Namespace:  CodeStack.SwEx.PMPage.Controls
Assembly:  CodeStack.SwEx.PMPage (in CodeStack.SwEx.PMPage.dll) Version: 0.7.2.0 (0.7.2.0)
Syntax
public static T GetSwControl<T>(
	this IPropertyManagerPageElementEx elem
)

Parameters

elem
Type: CodeStack.SwEx.PMPage.ControlsIPropertyManagerPageElementEx
Property Manager Page element

Type Parameters

T
Type of control to return

Return Value

Type: T
Underlying control in the Property Manager Page

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPropertyManagerPageElementEx. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidCastException
NotSupportedException
Remarks
For controls specify IPropertyManagerPageControl as a generic parameter to return base interface for control. You can also specify specific interfaces (e.g. IPropertyManagerPageNumberbox or IPropertyManagerPageTextbox. For groups specify IPropertyManagerPageGroup. For tabs specify IPropertyManagerPageTab
See Also