Inheritance: System.Windows.Controls.UserControl
Beispiel #1
0
        private void CreateColorpickerControl(NameAttribute displayNameAttribute, Binding b)
        {
            var colorControl = new ConfigColorControl();

            colorControl.ConfigItemDisplayName = _localController.GetLocalString(displayNameAttribute.LocalType, displayNameAttribute.DisplayName);
            colorControl.SetBinding(ConfigColorControl.ConfigItemValueProperty, b);

            configItemPanel.Children.Add(colorControl);
        }
        private void CreateColorpickerControl(NameAttribute displayNameAttribute, Binding b)
        {
            var colorControl = new ConfigColorControl();
            colorControl.ConfigItemDisplayName = _localController.GetLocalString(displayNameAttribute.LocalType, displayNameAttribute.DisplayName);
            colorControl.SetBinding(ConfigColorControl.ConfigItemValueProperty, b);

            configItemPanel.Children.Add(colorControl);
        }