CodeStack.SwEx.PMPage 0.4.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package CodeStack.SwEx.PMPage --version 0.4.6                
NuGet\Install-Package CodeStack.SwEx.PMPage -Version 0.4.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeStack.SwEx.PMPage" Version="0.4.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeStack.SwEx.PMPage --version 0.4.6                
#r "nuget: CodeStack.SwEx.PMPage, 0.4.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CodeStack.SwEx.PMPage as a Cake Addin
#addin nuget:?package=CodeStack.SwEx.PMPage&version=0.4.6

// Install CodeStack.SwEx.PMPage as a Cake Tool
#tool nuget:?package=CodeStack.SwEx.PMPage&version=0.4.6                

Documentation NuGet Issues

SwEx.PMPage

SwEx.PMPage Inspired by PropertyGrid Control in .NET Framework, SwEx.PMPage brings the flexibility of data model driven User Interface into SOLIDWORKS API.

Framework allows to use data model structure as a driver of the User Interface. Framework will automatically generate required interface and implement the binding of the model.

This will greatly reduce the implementation time as well as make the property pages scalable, easily maintainable and extendable.

Getting started

Start by defining the data model required to be filled by property manager page.

C#
public class DataModel
{
    public string Text { get; set; }
    public int Size { get; set; } = 48;
    public double Number { get;set; } = 10.5;
}
VB.NET
Public Class DataModel
    Public Property Text As String
    Public Property Size As Integer = 48
    Public Property Number As Double = 10.5
End Class

Create handler for property manager page by inheriting the public COM-visible class from PropertyManagerPageHandlerEx class.

This class will be instantiated by the framework and will allow handling the property manager specific events from the add-in.

C#
[ComVisible(true)]
public class MyPMPageHandler : PropertyManagerPageHandlerEx
{
}
VB.NET
<ComVisible(True)>
Public Class MyPMPageHandler
    Inherits PropertyManagerPageHandlerEx
End Class

Create instance of the property manager page by passing the type of the handler and data model instance into the generic arguments

C#
private PropertyManagerPageEx<MyPMPageHandler, DataModel> m_MyPage;
private DataModel m_Data = new DataModel();
...
m_Page = new PropertyManagerPageEx<MyPMPageHandler, DataModel>(m_Data, m_App);
m_Page.Show();
VB.NET
Dim m_MyPage As PropertyManagerPageEx(Of MyPMPageHandler, DataModel)
Dim m_Data As DataModel = New DataModel()
...
m_Page = New PropertyManagerPageEx(Of MyPMPageHandler, DataModel)(m_Data, m_App)
m_Page.Show()

Refer documentation and API reference for more information about additional options.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.2 1,774 11/9/2019 0.7.2 is deprecated because it is no longer maintained.
0.7.1 1,077 10/4/2019
0.7.0 1,023 9/22/2019
0.6.1 1,042 9/8/2019
0.6.0 1,118 9/8/2019
0.5.0 1,053 8/25/2019
0.4.6 1,138 6/7/2019
0.4.5 1,227 12/30/2018
0.4.0 1,350 11/10/2018
0.2.1-beta 1,118 9/2/2018