Automated dotnet-format update
This commit is contained in:
1 parent
ed41aabdef
commit
4cb300574c
747 files changed
+1000
-1000
No files matched your search
@@ -10,4 +10,4 @@ public class DatePropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => System.Windows.Controls.DatePicker.SelectedDateProperty;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,4 +10,4 @@ public class DateTimePropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => DateTimePicker.SelectedDateTimeProperty;
|
||||
}
|
||||
}
|
||||
@@ -13,4 +13,4 @@ public class EnumPropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => Selector.SelectedValueProperty;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -67,4 +67,4 @@ public class HorizontalAlignmentPathTemplateSelector : DataTemplateSelector
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,4 +59,4 @@ public class ImagePropertyEditor : PropertyEditorBase
|
||||
});
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => SourceProperty;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -27,4 +27,4 @@ public class NumberPropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => NumericUpDown.ValueProperty;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,4 +10,4 @@ public class PlainTextPropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => System.Windows.Controls.TextBox.TextProperty;
|
||||
}
|
||||
}
|
||||
@@ -24,4 +24,4 @@ public abstract class PropertyEditorBase : DependencyObject
|
||||
public virtual UpdateSourceTrigger GetUpdateSourceTrigger(PropertyItem propertyItem) => UpdateSourceTrigger.PropertyChanged;
|
||||
|
||||
protected virtual IValueConverter GetConverter(PropertyItem propertyItem) => null;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -16,4 +16,4 @@ public class ReadOnlyTextPropertyEditor : PropertyEditorBase
|
||||
public override BindingMode GetBindingMode(PropertyItem propertyItem) => BindingMode.OneWay;
|
||||
|
||||
protected override IValueConverter GetConverter(PropertyItem propertyItem) => ResourceHelper.GetResourceInternal<IValueConverter>("Object2StringConverter");
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -14,4 +14,4 @@ public class SwitchPropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => ToggleButton.IsCheckedProperty;
|
||||
}
|
||||
}
|
||||
@@ -10,4 +10,4 @@ public class TimePropertyEditor : PropertyEditorBase
|
||||
};
|
||||
|
||||
public override DependencyProperty GetDependencyProperty() => TimePicker.SelectedTimeProperty;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -67,4 +67,4 @@ public class VerticalAlignmentPathTemplateSelector : DataTemplateSelector
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -200,4 +200,4 @@ public class PropertyGrid : Control
|
||||
base.OnRenderSizeChanged(sizeInfo);
|
||||
TitleElement.SetTitleWidth(this, new GridLength(Math.Max(MinTitleWidth, Math.Min(MaxTitleWidth, ActualWidth / 3))));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -124,4 +124,4 @@ public class PropertyItem : ListBoxItem
|
||||
EditorElement = Editor.CreateElement(this);
|
||||
Editor.CreateBinding(this, EditorElement);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,8 +9,8 @@ public class PropertyItemsControl : ListBox
|
||||
public PropertyItemsControl()
|
||||
{
|
||||
#if !NET40
|
||||
VirtualizingPanel.SetIsVirtualizingWhenGrouping(this, true);
|
||||
VirtualizingPanel.SetScrollUnit(this, ScrollUnit.Pixel);
|
||||
VirtualizingPanel.SetIsVirtualizingWhenGrouping(this, true);
|
||||
VirtualizingPanel.SetScrollUnit(this, ScrollUnit.Pixel);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -123,4 +123,4 @@ public class PropertyResolver
|
||||
VerticalAlignment,
|
||||
ImageSource
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user