xarial / xcad

Framework for developing CAD applications for SOLIDWORKS, including add-ins, stand-alone applications, macro features, property manager pages, etc.
https://xcad.net
MIT License
129 stars 27 forks source link

BitmapButton bool not firing propertyManagerPage DataChanged Event #20

Closed emersonbottero closed 3 years ago

emersonbottero commented 3 years ago
        [Description("Barra Quadrada")]
        [BitmapButton(typeof(Resources), nameof(Resources.Barra_Quadrada), 48, 48)]
        [ControlOptions(left: 37, top: 0)]
        public bool SquareBar { get; set; } = false; 
        private void M_Page_DataChanged()
        {
            var test = m_Data;

                //TODO: handle the data changing, e.g. update preview
        }

if I set a breakpoint on var test = ... and click on the button the breakpoint is never reached On combobox change the breakpoint is reached

emersonbottero commented 3 years ago

is it available on the last dev Nugget Package?

artem1t commented 3 years ago

That is already in master and published to the public 0.6.1 nuget package