The root level control for exploring properties of an an object (embeds a property-grid).
Inheritance: System.Windows.Controls.ContentControl
 public void Initialize(PropertyExplorer control)
 {
     control.Width = 350;
     control.Height = 550;
     control.BorderBrush = StyleResources.Colors["Brush.Black.050"] as Brush;
     control.BorderThickness = new Thickness(1);
     control.ViewModel = new PropertyExplorerViewModel();
 }
        public void Setup_Custom_Categories(PropertyExplorer control)
        {
            control.ViewModel.IncludeHierarchy = true;
            control.ViewModel.SelectedObject = null;
            var names = new List<string> { "IsEnabled", "Width", "Height" };

            control.ViewModel.GetCategory = p => names.Contains(p.Definition.Name) ? "Category 1" : "Category 2";
            control.ViewModel.SelectedObject = control;
        }
 public void SelectedObject_Null(PropertyExplorer control)
 {
     control.ViewModel.SelectedObject = null;
 }
 public void SelectedObject_PropertyGrid_Self(PropertyExplorer control)
 {
     control.ViewModel.SelectedObject = control;
 }
 public void SelectedObject_Car(PropertyExplorer control)
 {
     control.ViewModel.SelectedObject = carInstance;
 }
 public void SelectedObject_Person(PropertyExplorer control)
 {
     control.ViewModel.SelectedObject = personInstance;
 }