XCAD.NET
XCAD.NET
Framework for .NET (C# and VB.NET) to create modern application for CAD systems (SOLIDWORKS, SOLIDWORKS Document Manager, Autodesk Inventor, etc.)
Get technical support Connect to xCAD community on Discord server Explore code and application examples xCAD.NET Templates for Visual Studio and VS Code Access source code

Number Box in SOLIDWORKS Property Manager Page


Simple number box
Simple number box

Number box will be automatically created for the properties of int and double types.

public int Number { get; set; }
public double FloatingNumber { get; set; }

Style of the number box can be customized via the NumberBoxOptionsAttribute

Number boxes with additional styles allowing specifying the units and displaying thumbwheel for changing the value
Number boxes with additional styles allowing specifying the units and displaying thumbwheel for changing the value

[NumberBoxOptions(NumberBoxUnitType_e.Length, 0, 1000, 0.01, true, 0.02, 0.001,
    NumberBoxStyle_e.Thumbwheel)]
public double Length { get; set; }


Powered by Docify