public void RaisePropertyChanged(Rhino.UI.Controls.DataSource.EventArgs e)
 {
     RaisePropertyChanged("Color");
     RaisePropertyChanged("ShowSection2");
     RaisePropertyChanged("Colortext");
     RaisePropertyChanged("SelectedMaterialIdList");
     RaisePropertyChanged("DiffuseChildSlotName");
 }
 void OnDataChanged(object sender, Rhino.UI.Controls.DataSource.EventArgs args)
 {
     m_checkbox.CheckedChanged -= OnCheckedChanged;
     m_checkbox.Checked         = CustomRenderSettingsViewModel.CheckBoxValue;
     m_checkbox.CheckedChanged += OnCheckedChanged;
 }
        public void UserInterfaceDisplayData(object sender, Rhino.UI.Controls.DataSource.EventArgs e)
        {
            var vm = WpfViewModel as CustomMaterialViewModel;

            vm.RaisePropertyChanged(e);
        }