Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1890
Create XamMultiColumnComboEditor User Control
posted

I'm trying to create a user control which will have a label and XamMultiColumnComboEditor. However the issue I'm running into is exposing XamMultiColumnComboEditor.Columns so programmers can specify which columns to show and hide. Is there a way to do that? It didn't like using this:

public ComboColumnCollection Columns
        {
            get { return (ComboColumnCollection)GetValue(ColumnsProperty); }
            set { SetValue(ColumnsProperty, value); }
        }

public static readonly DependencyProperty ColumnsProperty =
            DependencyProperty.Register("Columns", typeof(ComboColumnCollection), typeof(MultiColumnDropdownList),
            new FrameworkPropertyMetadata(null));

 

Parents Reply Children