public FileSelectionTextBoxExample()
        {
            InitializeComponent();

            ExampleView.AddDemoProperty(FileSelectionTextbox.AcceptsFileDropProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.HeightProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.WidthProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.HorizontalAlignmentProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.VerticalAlignmentProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.ForegroundProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.BackgroundProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.VisibilityProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.BorderThicknessProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.BorderBrushProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.FilterProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.TextProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(FileSelectionTextbox.IsReadOnlyProperty, fileSelectionTextBox);
            ExampleView.AddDemoProperty(TextBoxHelper.ClearTextButtonProperty, fileSelectionTextBox);
        }
Beispiel #2
0
        public ColorPickerSample()
        {
            InitializeComponent();

            ExampleView.AddDemoProperty(ColorPicker.SelectedColorProperty, colorPicker);
        }