From 4cb300574c6bf4a1182fe33706f1704e6aae2047 Mon Sep 17 00:00:00 2001 From: "github-actions-dotnet-formatter[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 13 Mar 2022 14:27:46 +0000 Subject: [PATCH] Automated dotnet-format update --- .../HandyControlDemo_Shared/App.xaml.cs | 18 ++-- .../HandyControlDemo_Shared/Data/AppConfig.cs | 2 +- .../Data/Enum/DemoType.cs | 2 +- .../Data/GlobalData.cs | 2 +- .../Data/MessageToken.cs | 2 +- .../Data/Model/AvatarModel.cs | 2 +- .../Data/Model/CardModel.cs | 2 +- .../Data/Model/ChatInfoModel.cs | 2 +- .../Data/Model/CoverViewDemoModel.cs | 2 +- .../Data/Model/DemoDataModel.cs | 2 +- .../Data/Model/DemoInfoModel.cs | 2 +- .../Data/Model/DemoItemModel.cs | 6 +- .../Data/Model/GeometryItemModel.cs | 2 +- .../Data/Model/PropertyGridDemoModel.cs | 2 +- .../Data/Model/StepBarDemoModel.cs | 2 +- .../Data/Model/TabControlDemoModel.cs | 2 +- .../MainWindow.xaml.cs | 2 +- .../Properties/Langs/LangProvider.cs | 2 +- .../Resources/DemoTheme.cs | 2 +- .../Service/Data/DataService.cs | 2 +- .../Tools/Converter/HatchBrushConverter.cs | 2 +- .../Tools/Converter/String2BrushConverter.cs | 2 +- .../Tools/Converter/StringRepeatConverter.cs | 2 +- .../Tools/Extension/LangExtension.cs | 2 +- .../Tools/Helper/AssemblyHelper.cs | 2 +- .../Tools/Helper/VersionHelper.cs | 4 +- .../Tools/Helper/Win32Helper.cs | 2 +- .../Tools/HighlightingProvider.cs | 2 +- .../UserControl/Basic/Avatar.xaml.cs | 2 +- .../UserControl/Basic/ChatBox.xaml.cs | 2 +- .../UserControl/Basic/GeometryItem.xaml.cs | 2 +- .../UserControl/Basic/IFull.cs | 2 +- .../Basic/InteractiveDialog.xaml.cs | 2 +- .../UserControl/Basic/TextDialog.xaml.cs | 2 +- .../Basic/TextDialogWithTimer.xaml.cs | 2 +- .../Controls/AnimationPathDemoCtl.xaml.cs | 2 +- .../AutoCompleteTextBoxDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/BadgeDemoCtl.xaml.cs | 2 +- .../Controls/ButtonGroupDemoCtl.xaml.cs | 2 +- .../Controls/CalendarWithClockDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/CardDemoCtl.xaml.cs | 2 +- .../Controls/CarouselDemoCtl.xaml.cs | 2 +- .../Controls/ChatBubbleDemoCtl.xaml.cs | 2 +- .../Controls/CheckComboBoxDemoCtl.xaml.cs | 2 +- .../Controls/CirclePanelDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/ClockDemoCtl.xaml.cs | 2 +- .../Controls/ColorPickerDemoCtl.xaml.cs | 2 +- .../Controls/ComboBoxDemoCtl.xaml.cs | 2 +- .../Controls/CompareSliderDemoCtl.xaml.cs | 2 +- .../Controls/CoverFlowDemoCtl.xaml.cs | 2 +- .../Controls/CoverViewDemoCtl.xaml.cs | 2 +- .../Controls/DatePickerDemoCtl.xaml.cs | 2 +- .../Controls/DateTimePickerDemoCtl.xaml.cs | 2 +- .../Controls/DialogDemoCtl.xaml.cs | 2 +- .../Controls/DividerDemoCtl.xaml.cs | 2 +- .../Controls/DrawerDemoCtl.xaml.cs | 2 +- .../Controls/ElementGroupDemoCtl.xaml.cs | 2 +- .../Controls/FlexPanelDemoCtl.xaml.cs | 2 +- .../Controls/FlipClockDemoCtl.xaml.cs | 2 +- .../Controls/FloatingBlockDemoCtl.xaml.cs | 2 +- .../Controls/GifImageDemoCtl.xaml.cs | 2 +- .../Controls/GotoTopDemoCtl.xaml.cs | 2 +- .../Controls/GravatarDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/GridDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/GrowlDemoCtl.xaml.cs | 2 +- .../Controls/HoneycombPanelDemoCtl.xaml.cs | 2 +- .../Controls/ImageBlockDemoCtl.xaml.cs | 2 +- .../Controls/ImageBrowserDemoCtl.xaml.cs | 2 +- .../Controls/ImageSelectorDemoCtl.xaml.cs | 2 +- .../Controls/LoadingDemoCtl.xaml.cs | 2 +- .../Controls/MagnifierDemoCtl.xaml.cs | 2 +- .../Controls/NotificationDemoCtl.xaml.cs | 2 +- .../Controls/NotifyIconDemoCtl.xaml.cs | 2 +- .../Controls/NumericUpDownDemoCtl.xaml.cs | 2 +- .../Controls/OutlineTextDemoCtl.xaml.cs | 2 +- .../Controls/PaginationDemoCtl.xaml.cs | 2 +- .../Controls/PasswordBoxDemoCtl.xaml.cs | 2 +- .../Controls/PinBoxDemoCtl.xaml.cs | 2 +- .../Controls/PoptipDemoCtl.xaml.cs | 2 +- .../Controls/PreviewSliderDemoCtl.xaml.cs | 2 +- .../Controls/ProgressBarDemoCtl.xaml.cs | 2 +- .../Controls/ProgressButtonDemoCtl.xaml.cs | 2 +- .../Controls/PropertyGridDemoCtl.xaml.cs | 2 +- .../Controls/RangeSliderDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/RateDemoCtl.xaml.cs | 2 +- .../Controls/RelativePanelDemoCtl.xaml.cs | 2 +- .../Controls/RunningBlockDemoCtl.xaml.cs | 2 +- .../Controls/ScreenshotDemoCtl.xaml.cs | 2 +- .../Controls/ScrollViewerDemoCtl.xaml.cs | 2 +- .../Controls/SearchBarDemoCtl.xaml.cs | 2 +- .../Controls/ShieldDemoCtl.xaml.cs | 2 +- .../Controls/SideMenuDemoCtl.xaml.cs | 2 +- .../Controls/SplitButtonDemoCtl.xaml.cs | 2 +- .../Controls/SpriteDemoCtl.xaml.cs | 2 +- .../Controls/StepBarDemoCtl.xaml.cs | 2 +- .../Controls/TabControlDemoCtl.xaml.cs | 2 +- .../UserControl/Controls/TagDemoCtl.xaml.cs | 2 +- .../Controls/TextBoxDemoCtl.xaml.cs | 2 +- .../Controls/TimeBarDemoCtl.xaml.cs | 2 +- .../Controls/TimePickerDemoCtl.xaml.cs | 2 +- .../Controls/TransferDemoCtl.xaml.cs | 2 +- ...TransitioningContentControlDemoCtl.xaml.cs | 2 +- .../UniformSpacingPanelDemoCtl.xaml.cs | 2 +- .../Controls/WaterfallPanelDemoCtl.xaml.cs | 2 +- .../Controls/WindowDemoCtl.xaml.cs | 2 +- .../UserControl/Main/AppNotification.xaml.cs | 2 +- .../UserControl/Main/AppSprite.xaml.cs | 2 +- .../UserControl/Main/BlogsView.xaml.cs | 2 +- .../UserControl/Main/ContributorsView.xaml.cs | 2 +- .../UserControl/Main/LeftMainContent.xaml.cs | 2 +- .../UserControl/Main/MainContent.xaml.cs | 2 +- .../Main/MainWindowContent.xaml.cs | 2 +- .../UserControl/Main/NonClientAreaContent.cs | 2 +- .../UserControl/Main/PracticalDemo.cs | 2 +- .../UserControl/Main/ProjectsView.xaml.cs | 2 +- .../Main/UnderConstruction.xaml.cs | 2 +- .../UserControl/Main/WebsitesView.xaml.cs | 2 +- .../UserControl/Practical/Login.xaml.cs | 2 +- .../UserControl/Styles/BorderDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/BrushDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/ButtonDemoCtl.xaml.cs | 2 +- .../Styles/CalendarDemoCtl.xaml.cs | 2 +- .../Styles/CheckBoxDemoCtl.xaml.cs | 2 +- .../Styles/DataGridDemoCtl.xaml.cs | 2 +- .../Styles/ExpanderDemoCtl.xaml.cs | 2 +- .../Styles/FlowDocumentDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/FrameDemoCtl.xaml.cs | 2 +- .../Styles/GeometryDemoCtl.xaml.cs | 2 +- .../Styles/GroupBoxDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/LabelDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/ListBoxDemoCtl.xaml.cs | 2 +- .../Styles/ListViewDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/MenuDemoCtl.xaml.cs | 2 +- .../Styles/NativeComboBoxDemoCtl.xaml.cs | 2 +- .../Styles/NativeDatePickerDemoCtl.xaml.cs | 2 +- .../Styles/NativePasswordBoxDemoCtl.xaml.cs | 2 +- .../Styles/NativeProgressBarDemoCtl.xaml.cs | 2 +- .../Styles/NativeScrollViewerDemoCtl.xaml.cs | 2 +- .../Styles/NativeTabControlDemoCtl.xaml.cs | 2 +- .../Styles/NativeTextBoxDemoCtl.xaml.cs | 2 +- .../Styles/NativeWindowDemoCtl.xaml.cs | 2 +- .../Styles/RadioButtonDemoCtl.xaml.cs | 2 +- .../Styles/RepeatButtonDemoCtl.xaml.cs | 2 +- .../Styles/RichTextBoxDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/SliderDemoCtl.xaml.cs | 2 +- .../Styles/TextBlockDemoCtl.xaml.cs | 2 +- .../Styles/ToggleButtonDemoCtl.xaml.cs | 2 +- .../UserControl/Styles/ToolBarDemoCtl.xaml.cs | 2 +- .../Styles/TreeViewDemoCtl.xaml.cs | 2 +- .../UserControl/Tools/EffectsDemoCtl.xaml.cs | 2 +- .../Tools/GeometryAnimationDemoCtl.xaml.cs | 2 +- .../Tools/HatchBrushGeneratorDemoCtl.xaml.cs | 2 +- .../ViewModel/Basic/ChatBoxViewModel.cs | 4 +- .../Basic/InteractiveDialogViewModel.cs | 6 +- .../AutoCompleteTextBoxDemoViewModel.cs | 12 +-- .../ViewModel/Controls/BadgeDemoViewModel.cs | 4 +- .../ViewModel/Controls/CardDemoViewModel.cs | 2 +- .../ViewModel/Controls/CoverViewModel.cs | 2 +- .../ViewModel/Controls/DialogDemoViewModel.cs | 28 +++---- .../ViewModel/Controls/GrowlDemoViewModel.cs | 2 +- .../Controls/ImageBrowserDemoViewModel.cs | 2 +- .../Controls/NotificationDemoViewModel.cs | 6 +- .../Controls/NotifyIconDemoViewModel.cs | 2 +- .../Controls/PaginationDemoViewModel.cs | 2 +- .../Controls/SideMenuDemoViewModel.cs | 2 +- .../Controls/SplitButtonDemoViewModel.cs | 2 +- .../ViewModel/Controls/SpriteDemoViewModel.cs | 2 +- .../Controls/StepBarDemoViewModel.cs | 4 +- .../Controls/TabControlDemoViewModel.cs | 2 +- .../ViewModel/Controls/TagDemoViewModel.cs | 4 +- .../ViewModel/Controls/WindowDemoViewModel.cs | 2 +- .../ViewModel/DemoViewModelBase`1.cs | 4 +- .../ViewModel/Main/ItemsDisplayViewModel.cs | 2 +- .../ViewModel/Main/MainViewModel.cs | 8 +- .../ViewModel/Main/NonClientAreaViewModel.cs | 4 +- .../ViewModel/ViewModelLocator.cs | 2 +- .../Window/AboutWindow.xaml.cs | 2 +- .../Window/BlurWindow.xaml.cs | 2 +- .../Window/CommonWindow.xaml.cs | 2 +- .../Window/CustomNonClientAreaWindow.xaml.cs | 2 +- .../Window/DialogDemoWindow.xaml.cs | 2 +- .../Window/GlowWindow.xaml.cs | 2 +- .../Window/GrowlDemoWindow.xaml.cs | 2 +- .../Window/NativeCommonWindow.xaml.cs | 2 +- .../Window/NavigationWindow.xaml.cs | 2 +- .../NoNonClientAreaDragableWindow.xaml.cs | 2 +- .../Window/TouchDragMoveWindow.xaml.cs | 2 +- .../ManualObservableCollection`1.cs | 2 +- .../Collections/Pool/IPool`1.cs | 2 +- .../Collections/Pool/SimplePool`1.cs | 2 +- .../Collections/Pool/SynchronizedPool`1.cs | 2 +- .../Collections/Queue/Deque`1.cs | 2 +- .../Attach/BackgroundSwitchElement.cs | 2 +- .../Controls/Attach/BorderElement.cs | 2 +- .../Controls/Attach/DataGridAttach.cs | 2 +- .../Controls/Attach/DropDownElement.cs | 2 +- .../Controls/Attach/EdgeElement.cs | 2 +- .../Controls/Attach/GridAttach.cs | 2 +- .../Controls/Attach/IconElement.cs | 2 +- .../Controls/Attach/IconSwitchElement.cs | 2 +- .../Controls/Attach/ImageAttach.cs | 2 +- .../Controls/Attach/InfoElement.cs | 2 +- .../Controls/Attach/MenuTopLineAttach.cs | 2 +- .../Controls/Attach/PanelElement.cs | 2 +- .../Controls/Attach/PasswordBoxAttach.cs | 2 +- .../Controls/Attach/RectangleAttach.cs | 2 +- .../Controls/Attach/ScrollViewerAttach.cs | 2 +- .../Controls/Attach/StatusSwitchElement.cs | 2 +- .../Controls/Attach/TextBlockAttach.cs | 2 +- .../Controls/Attach/TipElement.cs | 2 +- .../Controls/Attach/TitleElement.cs | 2 +- .../Controls/Attach/VisualElement.cs | 2 +- .../Controls/Attach/WindowAttach.cs | 2 +- .../Controls/Base/AdornerElement.cs | 2 +- .../Controls/Base/HeaderedSelectableItem.cs | 2 +- .../Base/HeaderedSimpleItemsControl.cs | 2 +- .../Controls/Base/IGravatarGenerator.cs | 2 +- .../Controls/Base/ISelectable.cs | 2 +- .../Controls/Base/ISingleOpen.cs | 2 +- .../Controls/Base/RegularItemsControl.cs | 2 +- .../Controls/Base/SelectableItem.cs | 2 +- .../Controls/Base/SimpleItemsControl.cs | 2 +- .../Controls/Block/FloatingBlock.cs | 2 +- .../Block/RunningBlock/RunningBlock.cs | 2 +- .../Block/RunningBlock/RunningBorder.cs | 2 +- .../Controls/Block/ToggleBlock.cs | 2 +- .../Controls/Button/ButtonGroup.cs | 2 +- .../Controls/Button/ContextMenuButton.cs | 2 +- .../Button/ContextMenuToggleButton.cs | 2 +- .../Controls/Button/ProgressButton.cs | 2 +- .../Controls/Button/SplitButton.cs | 2 +- .../Controls/Carousel/Carousel.cs | 2 +- .../Controls/Carousel/CarouselItem.cs | 2 +- .../Controls/ColorPicker/ColorDropper.cs | 2 +- .../Controls/ColorPicker/ColorPicker.cs | 2 +- .../Controls/Cover/CoverFlow/CoverFlow.cs | 2 +- .../Controls/Cover/CoverFlow/CoverFlowItem.cs | 2 +- .../Controls/Cover/CoverView/CoverView.cs | 2 +- .../Cover/CoverView/CoverViewContent.cs | 2 +- .../Controls/Cover/CoverView/CoverViewItem.cs | 2 +- .../Controls/Dialog/Dialog.cs | 2 +- .../Controls/Dialog/DialogContainer.cs | 2 +- .../Controls/Drawer/Drawer.cs | 2 +- .../Controls/Drawer/DrawerContainer.cs | 2 +- .../Controls/Growl/Growl.cs | 2 +- .../Controls/Growl/GrowlWindow.cs | 2 +- .../Controls/Image/GifImage.cs | 2 +- .../Controls/Image/ImageBlock.cs | 2 +- .../Controls/Image/ImageViewer.cs | 2 +- .../AutoCompleteTextBox.cs | 2 +- .../AutoCompleteTextBoxItem.cs | 2 +- .../Input/CheckComboBox/CheckComboBox.cs | 2 +- .../Input/CheckComboBox/CheckComboBoxItem.cs | 2 +- .../Controls/Input/ComboBox.cs | 32 +++---- .../Controls/Input/DatePicker.cs | 18 ++-- .../Controls/Input/DateTimePicker.cs | 50 +++++------ .../Controls/Input/IDataInput.cs | 2 +- .../Controls/Input/ImageSelector.cs | 2 +- .../Controls/Input/NumericUpDown.cs | 18 ++-- .../Controls/Input/PasswordBox.cs | 24 +++--- .../Controls/Input/PinBox.cs | 18 ++-- .../Controls/Input/SearchBar.cs | 2 +- .../Controls/Input/TextBox.cs | 2 +- .../Controls/Input/TimePicker.cs | 50 +++++------ .../Controls/Input/WatermarkTextBox.cs | 2 +- .../Controls/Loading/LoadingBase.cs | 2 +- .../Controls/Loading/LoadingCircle.cs | 2 +- .../Controls/Loading/LoadingLine.cs | 2 +- .../Controls/Other/AnimationPath.cs | 2 +- .../Controls/Other/Badge.cs | 2 +- .../Controls/Other/BlendEffectBox.cs | 2 +- .../Controls/Other/Card.cs | 2 +- .../Controls/Other/ChatBubble.cs | 2 +- .../Controls/Other/DashedBorder.cs | 2 +- .../Controls/Other/Divider.cs | 2 +- .../Controls/Other/Empty.cs | 2 +- .../Controls/Other/GotoTop.cs | 2 +- .../Controls/Other/Gravatar.cs | 2 +- .../Controls/Other/Magnifier.cs | 2 +- .../Controls/Other/Notification.cs | 44 +++++----- .../Controls/Other/NotifyIcon.cs | 2 +- .../Controls/Other/Pagination.cs | 2 +- .../Controls/Other/Poptip.cs | 2 +- .../Controls/Other/ScrollViewer.cs | 2 +- .../Controls/Other/Shield.cs | 2 +- .../Controls/Other/Sprite.cs | 2 +- .../Other/TransitioningContentControl.cs | 2 +- .../Controls/Other/Watermark.cs | 2 +- .../Controls/Panel/AxleCanvas.cs | 2 +- .../Controls/Panel/CirclePanel.cs | 2 +- .../Controls/Panel/ElementGroup.cs | 2 +- .../Controls/Panel/FlexPanel.cs | 2 +- .../Controls/Panel/Grid/Col.cs | 2 +- .../Controls/Panel/Grid/Row.cs | 2 +- .../Controls/Panel/HoneycombPanel.cs | 2 +- .../Controls/Panel/RelativePanel.cs | 2 +- .../Controls/Panel/SimplePanel.cs | 2 +- .../Controls/Panel/SimpleStackPanel.cs | 2 +- .../Controls/Panel/UniformSpacingPanel.cs | 2 +- .../Controls/Panel/WaterfallPanel.cs | 2 +- .../Controls/ProgressBar/CircleProgressBar.cs | 2 +- .../Controls/ProgressBar/WaveProgressBar.cs | 2 +- .../Editors/DatePropertyEditor.cs | 2 +- .../Editors/DateTimePropertyEditor.cs | 2 +- .../Editors/EnumPropertyEditor.cs | 2 +- .../HorizontalAlignmentPropertyEditor.cs | 2 +- .../Editors/ImagePropertyEditor.cs | 2 +- .../Editors/NumberPropertyEditor.cs | 2 +- .../Editors/PlainTextPropertyEditor.cs | 2 +- .../Editors/PropertyEditorBase.cs | 2 +- .../Editors/ReadOnlyTextPropertyEditor.cs | 2 +- .../Editors/SwitchPropertyEditor.cs | 2 +- .../Editors/TimePropertyEditor.cs | 2 +- .../VerticalAlignmentPropertyEditor.cs | 2 +- .../Controls/PropertyGrid/PropertyGrid.cs | 2 +- .../Controls/PropertyGrid/PropertyItem.cs | 2 +- .../PropertyGrid/PropertyItemsControl.cs | 6 +- .../Controls/PropertyGrid/PropertyResolver.cs | 2 +- .../HandyControl_Shared/Controls/Rate/Rate.cs | 2 +- .../Controls/Rate/RateItem.cs | 2 +- .../Controls/Screenshot/Screenshot.cs | 2 +- .../Controls/Screenshot/ScreenshotWindow.cs | 26 +++--- .../Controls/SideMenu/SideMenu.cs | 2 +- .../Controls/SideMenu/SideMenuItem.cs | 2 +- .../Slider/CompareSlider/CompareSlider.cs | 2 +- .../Slider/CompareSlider/CompareTrack.cs | 2 +- .../Controls/Slider/PreviewSlider.cs | 2 +- .../Slider/RangeSlider/RangeSlider.cs | 2 +- .../Controls/Slider/RangeSlider/RangeThumb.cs | 2 +- .../Controls/Slider/RangeSlider/RangeTrack.cs | 2 +- .../Slider/RangeSlider/TwoWayRangeBase.cs | 2 +- .../Controls/StepBar/StepBar.cs | 2 +- .../Controls/StepBar/StepBarItem.cs | 2 +- .../Controls/TabControl/TabControl.cs | 2 +- .../Controls/TabControl/TabItem.cs | 2 +- .../Controls/TabControl/TabPanel.cs | 2 +- .../HandyControl_Shared/Controls/Tag/Tag.cs | 2 +- .../Controls/Tag/TagContainer.cs | 2 +- .../Controls/Text/HighlightTextBlock.cs | 12 +-- .../Controls/Text/OutlineText.cs | 2 +- .../Controls/Text/SimpleText.cs | 2 +- .../Controls/Time/CalendarWithClock.cs | 2 +- .../Controls/Time/Clock/Clock.cs | 2 +- .../Controls/Time/Clock/ClockBase.cs | 2 +- .../Controls/Time/Clock/ClockRadioButton.cs | 2 +- .../Controls/Time/Clock/ListClock.cs | 2 +- .../Controls/Time/FlipClock/FlipClock.cs | 2 +- .../Controls/Time/FlipClock/FlipNumber.cs | 2 +- .../Controls/Time/TimeBar/SpeTextBlock.cs | 2 +- .../Controls/Time/TimeBar/TimeBar.cs | 2 +- .../Controls/Transfer/Transfer.cs | 2 +- .../Controls/Transfer/TransferGroup.cs | 2 +- .../Controls/Transfer/TransferItem.cs | 2 +- .../Controls/Window/BlurWindow.cs | 2 +- .../Controls/Window/GlowWindow.cs | 2 +- .../Controls/Window/ImageBrowser.cs | 2 +- .../Controls/Window/MessageBox.cs | 2 +- .../Controls/Window/PopupWindow.cs | 2 +- .../Data/Args/CancelRoutedEventArgs.cs | 2 +- .../Data/Args/FunctionEventArgs`1.cs | 2 +- .../Data/Args/KeyboardHookEventArgs.cs | 2 +- .../Data/Args/MouseHookEventArgs.cs | 2 +- .../Data/DisposableObject.cs | 2 +- .../Data/Enum/BadgeStatus.cs | 2 +- .../Data/Enum/ChatMessageType.cs | 2 +- .../Data/Enum/ChatRoleType.cs | 2 +- .../Data/Enum/ColLayoutStatus.cs | 2 +- .../Data/Enum/DrawerShowMode.cs | 2 +- .../Data/Enum/EnumDataProvider.cs | 2 +- .../Data/Enum/ExpandMode.cs | 2 +- .../Data/Enum/HatchStyle.cs | 2 +- .../HandyControl_Shared/Data/Enum/HitMode.cs | 2 +- .../Data/Enum/ImageCodecFlags.cs | 2 +- .../HandyControl_Shared/Data/Enum/InfoType.cs | 2 +- .../HandyControl_Shared/Data/Enum/IpType.cs | 2 +- .../Data/Enum/LinearLayout.cs | 2 +- .../Data/Enum/MouseHookMessageType.cs | 2 +- .../Data/Enum/NotifyIconInfoType.cs | 2 +- .../Data/Enum/PlacementType.cs | 2 +- .../Data/Enum/ResultType.cs | 2 +- .../Data/Enum/ShowAnimation.cs | 2 +- .../Data/Enum/SideMenuItemRole.cs | 2 +- .../HandyControl_Shared/Data/Enum/SkinType.cs | 2 +- .../Data/Enum/StepStatus.cs | 2 +- .../Data/Enum/StrokePosition.cs | 2 +- .../HandyControl_Shared/Data/Enum/TextType.cs | 2 +- .../Data/Enum/TitlePlacementType.cs | 2 +- .../Data/Enum/TransitionMode.cs | 2 +- .../Data/Enum/VisualWrapping.cs | 2 +- .../HandyControl_Shared/Data/EnumItem.cs | 2 +- .../Data/Flex/FlexContentAlignment.cs | 2 +- .../Data/Flex/FlexContentJustify.cs | 2 +- .../Data/Flex/FlexDirection.cs | 2 +- .../Data/Flex/FlexItemAlignment.cs | 2 +- .../Data/Flex/FlexItemsAlignment.cs | 2 +- .../HandyControl_Shared/Data/Flex/FlexWrap.cs | 2 +- .../HandyControl_Shared/Data/Gif/GPStream.cs | 2 +- .../Data/Gif/GifFrameDimension.cs | 2 +- .../Data/Gif/GifImageInfo.cs | 2 +- .../Data/Gif/GifPropertyItem.cs | 2 +- .../Data/Gif/GifPropertyItemInternal.cs | 2 +- .../Data/GlowWindow/ChangeScope.cs | 2 +- .../Data/GlowWindow/GlowBitmap.cs | 2 +- .../Data/GlowWindow/GlowBitmapPart.cs | 2 +- .../Data/GlowWindow/GlowDrawingContext.cs | 2 +- .../Data/GlowWindow/GlowEdge.cs | 14 ++-- .../Data/HandyControlConfig.cs | 2 +- .../HandyControl_Shared/Data/HwndWrapper.cs | 2 +- .../Data/Info/GrowlInfo.cs | 2 +- .../Data/Info/ImageCodecInfo.cs | 2 +- .../Data/Info/MessageBoxInfo.cs | 2 +- .../Data/Info/SystemVersionInfo.cs | 2 +- .../Data/Operation/OperationResult.cs | 2 +- .../Data/Operation/OperationResult`1.cs | 2 +- .../HandyControl_Shared/Data/PanelUvSize.cs | 2 +- .../Data/Range/ColorRange.cs | 2 +- .../Data/Range/DateTimeRange.cs | 2 +- .../Data/Range/DoubleRange.cs | 2 +- .../Data/Range/IValueRange.cs | 2 +- .../HandyControl_Shared/Data/ResourceToken.cs | 2 +- .../HandyControl_Shared/Data/ValueBoxes.cs | 2 +- .../Commands/CloseWindowCommand.cs | 2 +- .../Interactivity/Commands/ControlCommands.cs | 2 +- .../Interactivity/Commands/OpenLinkCommand.cs | 2 +- .../Commands/PushMainWindow2TopCommand.cs | 2 +- .../Commands/ShutdownAppCommand.cs | 2 +- .../Commands/StartScreenshotCommand.cs | 2 +- .../Interactivity/EventToCommand.cs | 2 +- .../Interactivity/IEventArgsConverter.cs | 2 +- .../MouseDragElementBehaviorEx.cs | 2 +- .../Interactivity/RoutedEventTrigger.cs | 2 +- .../Animation/DiscreteGeometryKeyFrame.cs | 2 +- .../Media/Animation/EasingGeometryKeyFrame.cs | 2 +- .../Media/Animation/GeometryAnimation.cs | 2 +- .../Media/Animation/GeometryAnimationBase.cs | 2 +- .../GeometryAnimationUsingKeyFrames.cs | 2 +- .../Animation/GeometryKeyFrameCollection.cs | 2 +- .../Media/Animation/LinearGeometryKeyFrame.cs | 2 +- .../Media/Animation/ResolvedKeyFrameEntry.cs | 2 +- .../Media/Animation/SplineGeometryKeyFrame.cs | 2 +- .../Media/Effects/BrightnessEffect.cs | 2 +- .../Media/Effects/ColorComplementEffect.cs | 2 +- .../Media/Effects/ColorMatrixEffect.cs | 2 +- .../Media/Effects/ContrastEffect.cs | 2 +- .../Media/Effects/EffectBase.cs | 2 +- .../Media/Effects/GrayScaleEffect.cs | 2 +- .../Properties/Langs/LangProvider.cs | 2 +- .../Themes/SharedResourceDictionary.cs | 2 +- .../HandyControl_Shared/Themes/Theme.cs | 2 +- .../Converter/Boolean2BooleanReConverter.cs | 2 +- .../Tools/Converter/Boolean2StrConverter.cs | 2 +- .../Boolean2VisibilityReConverter.cs | 2 +- .../Converter/BooleanArr2BooleanConverter.cs | 2 +- .../BooleanArr2VisibilityConverter.cs | 2 +- .../Converter/BorderCircularClipConverter.cs | 2 +- .../Converter/BorderCircularConverter.cs | 2 +- .../Tools/Converter/BorderClipConverter.cs | 2 +- .../Tools/Converter/ColLayoutConverter.cs | 2 +- .../Converter/Color2ChannelAConverter.cs | 2 +- .../Tools/Converter/Color2HexStrConverter.cs | 2 +- .../Converter/CornerRadiusSplitConverter.cs | 2 +- ...aGridSelectAllButtonVisibilityConverter.cs | 2 +- .../Converter/Double2GridLengthConverter.cs | 2 +- .../Tools/Converter/DoubleMinConverter.cs | 2 +- .../Tools/Converter/Int2StrConverter.cs | 2 +- .../Tools/Converter/Long2FileSizeConverter.cs | 2 +- .../Converter/Number2PercentageConverter.cs | 2 +- .../Converter/Object2BooleanConverter.cs | 2 +- .../Tools/Converter/Object2StringConverter.cs | 2 +- .../Converter/Object2VisibilityConverter.cs | 2 +- .../Converter/Object2VisibilityReConverter.cs | 2 +- .../Converter/RectangleCircularConverter.cs | 2 +- .../Converter/String2VisibilityConverter.cs | 2 +- .../Converter/String2VisibilityReConverter.cs | 2 +- .../Converter/ThicknessSplitConverter.cs | 2 +- .../Converter/TreeViewItemMarginConverter.cs | 2 +- .../Tools/Extension/ColLayout.cs | 2 +- .../Tools/Extension/ColorExtension.cs | 2 +- .../Extension/DependencyObjectExtension.cs | 2 +- .../Tools/Extension/DialogExtension.cs | 2 +- .../Tools/Extension/EnumerableExtension.cs | 2 +- .../Extension/FrameworkElementExtension.cs | 2 +- .../Tools/Extension/GeometryExtension.cs | 2 +- .../Tools/Extension/LangExtension.cs | 84 +++++++++---------- .../Tools/Extension/StringExtension.cs | 2 +- .../Tools/Extension/UIElementExtension.cs | 2 +- .../Tools/Extension/ValueExtension.cs | 2 +- .../Tools/Generator/ComparerGenerator.cs | 2 +- .../Tools/Generator/DateTimeRangeComparer.cs | 2 +- .../Generator/GithubGravatarGenerator.cs | 2 +- .../Tools/Generator/HatchBrushGenerator.cs | 2 +- .../Tools/GlobalShortcut.cs | 2 +- .../Tools/Helper/AnimationHelper.cs | 2 +- .../Tools/Helper/ArithmeticHelper.cs | 2 +- .../Tools/Helper/BindingHelper.cs | 2 +- .../Tools/Helper/ColorHelper.cs | 2 +- .../Tools/Helper/ConfigHelper.cs | 10 +-- .../Tools/Helper/DesignerHelper.cs | 2 +- .../Tools/Helper/DpiHelper.cs | 2 +- .../Tools/Helper/FullScreenHelper.cs | 2 +- .../Tools/Helper/IconHelper.cs | 2 +- .../Tools/Helper/InputClickHelper.cs | 2 +- .../Tools/Helper/ResourceHelper.cs | 2 +- .../Tools/Helper/ScreenHelper.cs | 2 +- .../Tools/Helper/SecurityHelper.cs | 2 +- .../Tools/Helper/SingleOpenHelper.cs | 2 +- .../Tools/Helper/SystemHelper.cs | 2 +- .../Tools/Helper/TextHelper.cs | 14 ++-- .../Tools/Helper/TokenizerHelper.cs | 2 +- .../Tools/Helper/TouchDragMoveWindowHelper.cs | 2 +- .../Tools/Helper/ValidateHelper.cs | 2 +- .../Tools/Helper/VisualHelper.cs | 2 +- .../Tools/Helper/WindowHelper.cs | 10 +-- .../Tools/Hook/ClipboardHook.cs | 2 +- .../Tools/Hook/KeyboardHook.cs | 2 +- .../Tools/Hook/MouseHook.cs | 2 +- .../Tools/Hook/SystemMenuHook.cs | 2 +- .../Tools/Interop/Handle/BitmapHandle.cs | 2 +- .../Tools/Interop/Handle/CommonHandles.cs | 2 +- .../Tools/Interop/Handle/HandleCollector.cs | 2 +- .../Tools/Interop/Handle/IconHandle.cs | 2 +- .../Interop/Handle/SafeFileMappingHandle.cs | 2 +- .../Tools/Interop/Handle/WpfSafeHandle.cs | 2 +- .../Tools/Interop/InteropMethods.cs | 2 +- .../Tools/Interop/InteropValues.cs | 2 +- .../Tools/RegexJudgment.cs | 2 +- .../Tools/RegexPatterns.cs | 2 +- .../ButtonGroupItemStyleSelector.cs | 2 +- .../ComboBoxItemCapsuleStyleSelector.cs | 2 +- .../TabItemCapsuleStyleSelector.cs | 2 +- .../Drawing/BezierCurveFlattener.cs | 2 +- .../Drawing/CommonExtensions.cs | 2 +- .../Drawing/ExceptionStringTable.cs | 2 +- .../Drawing/GeometryHelper.cs | 2 +- .../Drawing/MarchLocation.cs | 2 +- .../Drawing/MarchStopReason.cs | 2 +- .../Drawing/MathHelper.cs | 2 +- .../Drawing/PathFigureHelper.cs | 2 +- .../Drawing/PathGeometryHelper.cs | 2 +- .../Drawing/PathSegmentData.cs | 2 +- .../Drawing/PathSegmentHelper.cs | 2 +- .../Drawing/PolylineData.cs | 2 +- .../Drawing/PolylineHelper.cs | 2 +- .../Drawing/RandomEngine.cs | 2 +- .../Drawing/SimpleSegment.cs | 2 +- .../Media/ArcGeometrySource.cs | 2 +- .../Media/DrawingPropertyChangedEventArgs.cs | 2 +- .../Media/DrawingPropertyMetadata.cs | 2 +- .../Media/DrawingPropertyMetadataOptions.cs | 2 +- .../Media/GeometryEffect.cs | 2 +- .../Media/GeometryEffectConverter.cs | 2 +- .../Media/GeometrySource`1.cs | 2 +- .../Media/IArcGeometrySourceParameters.cs | 2 +- .../Media/IGeometrySource.cs | 2 +- .../Media/IGeometrySourceExtensions.cs | 2 +- .../Media/IGeometrySourceParameters.cs | 2 +- .../Media/IShape.cs | 2 +- .../Media/InvalidateGeometryReasons.cs | 2 +- .../Media/SketchGeometryEffect.cs | 14 ++-- .../Media/UnitType.cs | 2 +- .../Shapes/Arc.cs | 2 +- .../Shapes/PrimitiveShape.cs | 2 +- .../AdornerContainer.cs | 2 +- .../ExceptionStringTable.cs | 2 +- .../ExtendedVisualStateManager.cs | 2 +- .../FluidMoveBehavior.cs | 2 +- .../FluidMoveBehaviorBase.cs | 2 +- .../FluidMoveScope.cs | 2 +- .../MouseDragElementBehavior.cs | 2 +- .../TagType.cs | 2 +- .../TransitionEffect.cs | 2 +- .../Microsoft.Windows.Shell/JumpItem.cs | 2 +- .../JumpItemRejectionReason.cs | 2 +- .../JumpItemsRejectedEventArgs.cs | 2 +- .../JumpItemsRemovedEventArgs.cs | 2 +- .../Microsoft.Windows.Shell/JumpList.cs | 2 +- .../Microsoft.Windows.Shell/JumpPath.cs | 2 +- .../Microsoft.Windows.Shell/JumpTask.cs | 2 +- .../Microsoft.Windows.Shell/Standard/AC.cs | 2 +- .../Standard/APPDOCLISTTYPE.cs | 2 +- .../Standard/Assert.cs | 2 +- .../Microsoft.Windows.Shell/Standard/BI.cs | 2 +- .../Standard/BITMAPINFO.cs | 2 +- .../Standard/BITMAPINFOHEADER.cs | 2 +- .../Standard/BLENDFUNCTION.cs | 2 +- .../Standard/CHANGEFILTERSTRUCT.cs | 2 +- .../Microsoft.Windows.Shell/Standard/CLSID.cs | 2 +- .../Standard/CREATESTRUCT.cs | 2 +- .../Microsoft.Windows.Shell/Standard/CS.cs | 2 +- .../Standard/CombineRgnResult.cs | 2 +- .../Microsoft.Windows.Shell/Standard/DOGIF.cs | 2 +- .../Standard/DWMFLIP3D.cs | 2 +- .../Standard/DWMNCRP.cs | 2 +- .../Microsoft.Windows.Shell/Standard/DWMWA.cs | 2 +- .../Standard/DWM_SIT.cs | 2 +- .../Standard/DWM_TIMING_INFO.cs | 2 +- .../Standard/DeviceCap.cs | 2 +- .../Standard/DoubleUtilities.cs | 2 +- .../Standard/DpiHelper.cs | 2 +- .../Standard/ErrorModes.cs | 2 +- .../Microsoft.Windows.Shell/Standard/FO.cs | 2 +- .../Microsoft.Windows.Shell/Standard/FOF.cs | 2 +- .../Standard/Facility.cs | 2 +- .../Microsoft.Windows.Shell/Standard/GCLP.cs | 2 +- .../Microsoft.Windows.Shell/Standard/GPS.cs | 2 +- .../Microsoft.Windows.Shell/Standard/GWL.cs | 2 +- .../Microsoft.Windows.Shell/Standard/HCF.cs | 2 +- .../Standard/HIGHCONTRAST.cs | 2 +- .../Standard/HRESULT.cs | 2 +- .../Microsoft.Windows.Shell/Standard/HT.cs | 2 +- .../Standard/IApplicationDestinations.cs | 2 +- .../Standard/IApplicationDocumentLists.cs | 2 +- .../Standard/ICustomDestinationList.cs | 2 +- .../Standard/IEnumIDList.cs | 2 +- .../Standard/IEnumObjects.cs | 2 +- .../Microsoft.Windows.Shell/Standard/IID.cs | 2 +- .../Microsoft.Windows.Shell/Standard/INPUT.cs | 2 +- .../Standard/INPUT_TYPE.cs | 2 +- .../Standard/IObjectArray.cs | 2 +- .../Standard/IObjectCollection.cs | 2 +- .../Standard/IObjectWithAppUserModelId.cs | 2 +- .../Standard/IObjectWithProgId.cs | 2 +- .../Standard/IPropertyStore.cs | 2 +- .../Standard/IShellFolder.cs | 2 +- .../Standard/IShellItem.cs | 2 +- .../Standard/IShellItem2.cs | 2 +- .../Standard/IShellItemArray.cs | 2 +- .../Standard/IShellLinkW.cs | 2 +- .../Standard/ITaskbarList.cs | 2 +- .../Standard/ITaskbarList2.cs | 2 +- .../Standard/ITaskbarList3.cs | 2 +- .../Standard/ITaskbarList4.cs | 2 +- .../Microsoft.Windows.Shell/Standard/KDC.cs | 2 +- .../Standard/LOGFONT.cs | 2 +- .../Standard/MARGINS.cs | 2 +- .../Microsoft.Windows.Shell/Standard/MF.cs | 2 +- .../Standard/MINMAXINFO.cs | 2 +- .../Standard/MONITORINFO.cs | 2 +- .../Standard/MOUSEEVENTF.cs | 2 +- .../Standard/MOUSEINPUT.cs | 2 +- .../Standard/MSGFLT.cs | 2 +- .../Standard/MSGFLTINFO.cs | 2 +- .../Standard/ManagedIStream.cs | 2 +- .../Standard/MessageHandler.cs | 2 +- .../Standard/MessageWindow.cs | 2 +- .../Microsoft.Windows.Shell/Standard/NIF.cs | 2 +- .../Microsoft.Windows.Shell/Standard/NIIF.cs | 2 +- .../Microsoft.Windows.Shell/Standard/NIM.cs | 2 +- .../Standard/NONCLIENTMETRICS.cs | 2 +- .../Standard/NOTIFYICONDATA.cs | 2 +- .../Standard/NativeMethods.cs | 2 +- .../Standard/OLECMDEXECOPT.cs | 2 +- .../Standard/OLECMDF.cs | 2 +- .../Standard/OLECMDID.cs | 2 +- .../Microsoft.Windows.Shell/Standard/PKEY.cs | 2 +- .../Microsoft.Windows.Shell/Standard/POINT.cs | 2 +- .../Standard/PROPVARIANT.cs | 2 +- .../Standard/READYSTATE.cs | 2 +- .../Microsoft.Windows.Shell/Standard/RECT.cs | 2 +- .../Standard/RGBQUAD.cs | 2 +- .../Microsoft.Windows.Shell/Standard/RGN.cs | 2 +- .../Standard/RefPOINT.cs | 2 +- .../Standard/RefRECT.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SC.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SFGAO.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SHARD.cs | 2 +- .../Standard/SHARDAPPIDINFO.cs | 2 +- .../Standard/SHARDAPPIDINFOIDLIST.cs | 2 +- .../Standard/SHARDAPPIDINFOLINK.cs | 2 +- .../Standard/SHCONTF.cs | 2 +- .../Standard/SHFILEOPSTRUCT.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SHGDN.cs | 2 +- .../Standard/SIATTRIBFLAGS.cs | 2 +- .../Standard/SICHINT.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SIGDN.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SIZE.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SLGP.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SM.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SPI.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SPIF.cs | 2 +- .../Standard/STATE_SYSTEM.cs | 2 +- .../Microsoft.Windows.Shell/Standard/STPF.cs | 2 +- .../Standard/STR_GPS.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SW.cs | 2 +- .../Microsoft.Windows.Shell/Standard/SWP.cs | 2 +- .../Standard/SafeConnectionPointCookie.cs | 2 +- .../Standard/SafeDC.cs | 2 +- .../Standard/SafeFindHandle.cs | 2 +- .../Standard/SafeGdiplusStartupToken.cs | 2 +- .../Standard/SafeHBITMAP.cs | 2 +- .../Standard/StartupInput.cs | 2 +- .../Standard/StartupOutput.cs | 2 +- .../Standard/Status.cs | 2 +- .../Standard/StockObject.cs | 2 +- .../Microsoft.Windows.Shell/Standard/TBPF.cs | 2 +- .../Microsoft.Windows.Shell/Standard/THB.cs | 2 +- .../Microsoft.Windows.Shell/Standard/THBF.cs | 2 +- .../Standard/THUMBBUTTON.cs | 2 +- .../Standard/TITLEBARINFO.cs | 2 +- .../Standard/TITLEBARINFOEX.cs | 2 +- .../Microsoft.Windows.Shell/Standard/ULW.cs | 2 +- .../Standard/UNSIGNED_RATIO.cs | 2 +- .../Standard/Utility.cs | 4 +- .../Standard/Verify.cs | 2 +- .../Standard/WIN32_FIND_DATAW.cs | 2 +- .../Standard/WINDOWPLACEMENT.cs | 2 +- .../Standard/WINDOWPOS.cs | 2 +- .../Standard/WINDOWTHEMEATTRIBUTETYPE.cs | 2 +- .../Microsoft.Windows.Shell/Standard/WM.cs | 2 +- .../Standard/WNDCLASSEX.cs | 2 +- .../Microsoft.Windows.Shell/Standard/WS.cs | 2 +- .../Microsoft.Windows.Shell/Standard/WS_EX.cs | 2 +- .../Standard/WTA_OPTIONS.cs | 2 +- .../Microsoft.Windows.Shell/Standard/WTNCA.cs | 2 +- .../Microsoft.Windows.Shell/Standard/WVR.cs | 2 +- .../Standard/Win32Error.cs | 2 +- .../Standard/Win32Value.cs | 2 +- .../Standard/WndProc.cs | 2 +- .../Standard/WndProcHook.cs | 2 +- .../Microsoft.Windows.Shell/SystemCommands.cs | 2 +- .../SystemParameters2.cs | 4 +- .../TaskbarItemInfo.cs | 10 +-- .../TaskbarItemProgressState.cs | 2 +- .../ThumbButtonInfo.cs | 2 +- .../ThumbButtonInfoCollection.cs | 2 +- .../Microsoft.Windows.Shell/WindowChrome.cs | 2 +- .../WindowChromeWorker.cs | 2 +- .../AttachableCollection`1.cs | 2 +- .../System.Windows.Interactivity/Behavior.cs | 2 +- .../BehaviorCollection.cs | 2 +- .../Behavior`1.cs | 2 +- .../DefaultTriggerAttribute.cs | 2 +- .../EventTrigger.cs | 2 +- .../EventTriggerBase.cs | 2 +- .../EventTriggerBase`1.cs | 2 +- .../IAttachedObject.cs | 2 +- .../Interaction.cs | 2 +- .../InvokeCommandAction.cs | 2 +- .../NameResolvedEventArgs.cs | 2 +- .../NameResolver.cs | 2 +- .../PreviewInvokeEventArgs.cs | 2 +- .../TriggerAction.cs | 2 +- .../TriggerActionCollection.cs | 2 +- .../TriggerAction`1.cs | 2 +- .../TriggerBase.cs | 2 +- .../TriggerCollection.cs | 2 +- .../TypeConstraintAttribute.cs | 2 +- 747 files changed, 1000 insertions(+), 1000 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/App.xaml.cs b/src/Shared/HandyControlDemo_Shared/App.xaml.cs index 07cb8e23..54db7684 100644 --- a/src/Shared/HandyControlDemo_Shared/App.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/App.xaml.cs @@ -27,13 +27,13 @@ public partial class App public App() { #if !NET40 - var cachePath = $"{AppDomain.CurrentDomain.BaseDirectory}Cache"; - if (!Directory.Exists(cachePath)) - { - Directory.CreateDirectory(cachePath); - } - ProfileOptimization.SetProfileRoot(cachePath); - ProfileOptimization.StartProfile("Profile"); + var cachePath = $"{AppDomain.CurrentDomain.BaseDirectory}Cache"; + if (!Directory.Exists(cachePath)) + { + Directory.CreateDirectory(cachePath); + } + ProfileOptimization.SetProfileRoot(cachePath); + ProfileOptimization.StartProfile("Profile"); #endif } @@ -80,7 +80,7 @@ public partial class App #if NET40 ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; #else - ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; #endif } } @@ -136,4 +136,4 @@ public partial class App } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/AppConfig.cs b/src/Shared/HandyControlDemo_Shared/Data/AppConfig.cs index 03b456d4..9f565c7d 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/AppConfig.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/AppConfig.cs @@ -10,4 +10,4 @@ internal class AppConfig public string Lang { get; set; } = "zh-cn"; public SkinType Skin { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Enum/DemoType.cs b/src/Shared/HandyControlDemo_Shared/Data/Enum/DemoType.cs index b2221317..22fe300b 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Enum/DemoType.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Enum/DemoType.cs @@ -9,4 +9,4 @@ public enum DemoType Type4, Type5, Type6 -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/GlobalData.cs b/src/Shared/HandyControlDemo_Shared/Data/GlobalData.cs index 276ec339..dd0d4e91 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/GlobalData.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/GlobalData.cs @@ -34,4 +34,4 @@ internal class GlobalData public static AppConfig Config { get; set; } public static bool NotifyIconIsShow { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs index 71651e81..6be766d0 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs @@ -54,4 +54,4 @@ public class MessageToken public static readonly string SkinUpdated = nameof(SkinUpdated); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/AvatarModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/AvatarModel.cs index 75cc2a50..2b4db4eb 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/AvatarModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/AvatarModel.cs @@ -8,4 +8,4 @@ public class AvatarModel public string Link { get; set; } public string AvatarUri { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/CardModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/CardModel.cs index 3e8ff759..0c9b7feb 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/CardModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/CardModel.cs @@ -7,4 +7,4 @@ public class CardModel public string Content { get; set; } public string Footer { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/ChatInfoModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/ChatInfoModel.cs index 9e137151..c066a908 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/ChatInfoModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/ChatInfoModel.cs @@ -13,4 +13,4 @@ public struct ChatInfoModel public ChatMessageType Type { get; set; } public object Enclosure { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/CoverViewDemoModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/CoverViewDemoModel.cs index b407c3c9..bda5145a 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/CoverViewDemoModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/CoverViewDemoModel.cs @@ -5,4 +5,4 @@ public class CoverViewDemoModel public string ImgPath { get; set; } public string BackgroundToken { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/DemoDataModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/DemoDataModel.cs index 0cfbcae0..c6959889 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/DemoDataModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/DemoDataModel.cs @@ -18,4 +18,4 @@ public class DemoDataModel public string ImgPath { get; set; } public List DataList { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/DemoInfoModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/DemoInfoModel.cs index f25a0746..0f1847db 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/DemoInfoModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/DemoInfoModel.cs @@ -34,4 +34,4 @@ public class DemoInfoModel : ViewModelBase public bool IsGroupEnabled { get; set; } public IList DemoItemList { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/DemoItemModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/DemoItemModel.cs index e06440b5..a685b132 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/DemoItemModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/DemoItemModel.cs @@ -23,7 +23,7 @@ public class DemoItemModel : ObservableObject #if NET40 set => Set(nameof(QueriesText), ref _queriesText, value); #else - set => Set(ref _queriesText, value); + set => Set(ref _queriesText, value); #endif } @@ -33,7 +33,7 @@ public class DemoItemModel : ObservableObject #if NET40 set => Set(nameof(IsVisible), ref _isVisible, value); #else - set => Set(ref _isVisible, value); + set => Set(ref _isVisible, value); #endif } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/GeometryItemModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/GeometryItemModel.cs index 53727ce9..c9f6939c 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/GeometryItemModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/GeometryItemModel.cs @@ -9,4 +9,4 @@ public class GeometryItemModel public string Key { get; set; } public bool Line { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/PropertyGridDemoModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/PropertyGridDemoModel.cs index a5f9e2bc..073453e1 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/PropertyGridDemoModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/PropertyGridDemoModel.cs @@ -29,4 +29,4 @@ public enum Gender { Male, Female -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/StepBarDemoModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/StepBarDemoModel.cs index a9c97244..fa59a930 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/StepBarDemoModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/StepBarDemoModel.cs @@ -5,4 +5,4 @@ public class StepBarDemoModel public string Header { get; set; } public string Content { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Data/Model/TabControlDemoModel.cs b/src/Shared/HandyControlDemo_Shared/Data/Model/TabControlDemoModel.cs index 89b5fa1d..d7637cc2 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/Model/TabControlDemoModel.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/Model/TabControlDemoModel.cs @@ -5,4 +5,4 @@ public class TabControlDemoModel public string Header { get; set; } public string BackgroundToken { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/MainWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/MainWindow.xaml.cs index 6121e2a4..502ea268 100644 --- a/src/Shared/HandyControlDemo_Shared/MainWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/MainWindow.xaml.cs @@ -50,4 +50,4 @@ public partial class MainWindow base.OnClosing(e); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs index e1538e95..ca04a1bf 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs @@ -2556,4 +2556,4 @@ public class LangKeys /// public static string Window = nameof(Window); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Resources/DemoTheme.cs b/src/Shared/HandyControlDemo_Shared/Resources/DemoTheme.cs index 155ac909..b9294fc4 100644 --- a/src/Shared/HandyControlDemo_Shared/Resources/DemoTheme.cs +++ b/src/Shared/HandyControlDemo_Shared/Resources/DemoTheme.cs @@ -15,4 +15,4 @@ public class DemoTheme : Theme { Source = new Uri("pack://application:,,,/HandyControlDemo;component/Resources/Themes/Theme.xaml") }; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs b/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs index b6549001..e4424361 100644 --- a/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs +++ b/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs @@ -438,4 +438,4 @@ public class DataService : "ghost1372"; return $"https://{domainName}.github.io/handycontrol/{key}/{demoItem.Name[0].ToString().ToLower()}{demoItem.Name.Substring(1)}"; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs b/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs index caf07363..10fd810a 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs @@ -29,4 +29,4 @@ public class HatchBrushConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Converter/String2BrushConverter.cs b/src/Shared/HandyControlDemo_Shared/Tools/Converter/String2BrushConverter.cs index 676807c9..346a8cd5 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Converter/String2BrushConverter.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Converter/String2BrushConverter.cs @@ -17,4 +17,4 @@ public class String2BrushConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Converter/StringRepeatConverter.cs b/src/Shared/HandyControlDemo_Shared/Tools/Converter/StringRepeatConverter.cs index 4a8db1cf..4144619c 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Converter/StringRepeatConverter.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Converter/StringRepeatConverter.cs @@ -41,4 +41,4 @@ public class StringRepeatConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs b/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs index 3722b133..e3080f9d 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs @@ -8,4 +8,4 @@ public class LangExtension : HandyControl.Tools.Extension.LangExtension { Source = LangProvider.Instance; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Helper/AssemblyHelper.cs b/src/Shared/HandyControlDemo_Shared/Tools/Helper/AssemblyHelper.cs index 849d9111..8e831fac 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Helper/AssemblyHelper.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Helper/AssemblyHelper.cs @@ -33,4 +33,4 @@ internal class AssemblyHelper return null; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Helper/VersionHelper.cs b/src/Shared/HandyControlDemo_Shared/Tools/Helper/VersionHelper.cs index adfccb0f..062e601c 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Helper/VersionHelper.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Helper/VersionHelper.cs @@ -35,7 +35,7 @@ internal class VersionHelper #elif NET6_0 var netVersion = "NET 60"; #elif NETCOREAPP3_0 - var netVersion = "CORE 30"; + var netVersion = "CORE 30"; #elif NETCOREAPP3_1 var netVersion = "CORE 31"; #endif @@ -44,4 +44,4 @@ internal class VersionHelper internal static string GetCopyright() => FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Helper/Win32Helper.cs b/src/Shared/HandyControlDemo_Shared/Tools/Helper/Win32Helper.cs index 1b5b3ac6..cc1ac22f 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Helper/Win32Helper.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Helper/Win32Helper.cs @@ -10,4 +10,4 @@ internal class Win32Helper [DllImport("winmm.dll", EntryPoint = "mciSendString", CharSet = CharSet.Auto)] public static extern int MciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Tools/HighlightingProvider.cs b/src/Shared/HandyControlDemo_Shared/Tools/HighlightingProvider.cs index 9a6a519c..078ea8de 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/HighlightingProvider.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/HighlightingProvider.cs @@ -76,4 +76,4 @@ internal class HighlightingProviderDark : HighlightingProvider ["C#"] = new(() => LoadDefinition("CSharp-Dark")), }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/Avatar.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/Avatar.xaml.cs index 6309f694..1a3502da 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/Avatar.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/Avatar.xaml.cs @@ -36,4 +36,4 @@ public partial class Avatar get => (string) GetValue(LinkProperty); set => SetValue(LinkProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml.cs index 4507049e..9645bed6 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml.cs @@ -18,4 +18,4 @@ public partial class ChatBox _scrollViewer ??= VisualHelper.GetChild(ListBoxChat); _scrollViewer?.ScrollToBottom(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/GeometryItem.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/GeometryItem.xaml.cs index d7fe1cf0..6849200c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/GeometryItem.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/GeometryItem.xaml.cs @@ -15,4 +15,4 @@ public partial class GeometryItem get => (GeometryItemModel) GetValue(InfoProperty); set => SetValue(InfoProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/IFull.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/IFull.cs index 781f1960..f11afea5 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/IFull.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/IFull.cs @@ -3,4 +3,4 @@ internal interface IFull { -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/InteractiveDialog.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/InteractiveDialog.xaml.cs index e63fb04f..7ac4c7a4 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/InteractiveDialog.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/InteractiveDialog.xaml.cs @@ -6,4 +6,4 @@ public partial class InteractiveDialog { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialog.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialog.xaml.cs index 4a0fb073..6a38b274 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialog.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialog.xaml.cs @@ -6,4 +6,4 @@ public partial class TextDialog { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialogWithTimer.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialogWithTimer.xaml.cs index c2dbbe6a..9db2627b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialogWithTimer.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialogWithTimer.xaml.cs @@ -20,4 +20,4 @@ public partial class TextDialogWithTimer { ButtonClose.Command.Execute(null); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AnimationPathDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AnimationPathDemoCtl.xaml.cs index c21e1e0f..ed36b01c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AnimationPathDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AnimationPathDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class AnimationPathDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AutoCompleteTextBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AutoCompleteTextBoxDemoCtl.xaml.cs index 2d7c0b57..277f839c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AutoCompleteTextBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/AutoCompleteTextBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class AutoCompleteTextBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/BadgeDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/BadgeDemoCtl.xaml.cs index 29d86bba..1093cda5 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/BadgeDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/BadgeDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class BadgeDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ButtonGroupDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ButtonGroupDemoCtl.xaml.cs index 464b40f5..5fd591be 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ButtonGroupDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ButtonGroupDemoCtl.xaml.cs @@ -36,4 +36,4 @@ public partial class ButtonGroupDemoCtl get => (string) GetValue(LinkProperty); set => SetValue(LinkProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs index 5d98c916..7ad76d4b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class CalendarWithClockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CardDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CardDemoCtl.xaml.cs index e11d66c0..8d1c52da 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CardDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CardDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class CardDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CarouselDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CarouselDemoCtl.xaml.cs index f4b283c6..d0a44b92 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CarouselDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CarouselDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class CarouselDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ChatBubbleDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ChatBubbleDemoCtl.xaml.cs index faae0b96..d2084f0d 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ChatBubbleDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ChatBubbleDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ChatBubbleDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CheckComboBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CheckComboBoxDemoCtl.xaml.cs index 02b162dc..40ac094e 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CheckComboBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CheckComboBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class CheckComboBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CirclePanelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CirclePanelDemoCtl.xaml.cs index 86f3e060..44fe0902 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CirclePanelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CirclePanelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class CirclePanelDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ClockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ClockDemoCtl.xaml.cs index 4029c869..fdb30a1e 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ClockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ClockDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ClockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ColorPickerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ColorPickerDemoCtl.xaml.cs index cdaaa8de..e0ffbc82 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ColorPickerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ColorPickerDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ColorPickerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ComboBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ComboBoxDemoCtl.xaml.cs index 732861b7..17100254 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ComboBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ComboBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ComboBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CompareSliderDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CompareSliderDemoCtl.xaml.cs index 6f95f6a0..2e1681b2 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CompareSliderDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CompareSliderDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class CompareSliderDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverFlowDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverFlowDemoCtl.xaml.cs index 055c0647..2d997aba 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverFlowDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverFlowDemoCtl.xaml.cs @@ -24,4 +24,4 @@ public partial class CoverFlowDemoCtl CoverFlowMain.PageIndex = 2; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverViewDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverViewDemoCtl.xaml.cs index cd236e23..b0533530 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverViewDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/CoverViewDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class CoverViewDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DatePickerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DatePickerDemoCtl.xaml.cs index 92c3311d..22370b5a 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DatePickerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DatePickerDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class DatePickerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs index 7a1158ff..4516e027 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class DateTimePickerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DialogDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DialogDemoCtl.xaml.cs index 1f2bdab3..a0ca5ee2 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DialogDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DialogDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class DialogDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml.cs index 80858209..a729a1ef 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class DividerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DrawerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DrawerDemoCtl.xaml.cs index a465d301..d5035402 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DrawerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DrawerDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class DrawerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ElementGroupDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ElementGroupDemoCtl.xaml.cs index cdcaeee8..bfffd2f8 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ElementGroupDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ElementGroupDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ElementGroupDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlexPanelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlexPanelDemoCtl.xaml.cs index 0108f042..edbf80f8 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlexPanelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlexPanelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class FlexPanelDemoCtl : IFull { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlipClockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlipClockDemoCtl.xaml.cs index f551b19a..1bf77c65 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlipClockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FlipClockDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class FlipClockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs index 2483dd02..91e2b19f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class FloatingBlockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GifImageDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GifImageDemoCtl.xaml.cs index 11cd210c..ced84c6b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GifImageDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GifImageDemoCtl.xaml.cs @@ -13,4 +13,4 @@ public partial class GifImageDemoCtl : IDisposable { GifImageMain.Dispose(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml.cs index fb97c5b1..6a7916f2 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class GotoTopDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GravatarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GravatarDemoCtl.xaml.cs index 2c8e5957..3361fe1c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GravatarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GravatarDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class GravatarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml.cs index a19b3137..1581bf0b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class GridDemoCtl : IFull { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml.cs index 3dcb6714..7862f170 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class GrowlDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/HoneycombPanelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/HoneycombPanelDemoCtl.xaml.cs index d52f881d..4c2f3f59 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/HoneycombPanelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/HoneycombPanelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class HoneycombPanelDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBlockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBlockDemoCtl.xaml.cs index 62ee9dc0..3f949fa5 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBlockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBlockDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ImageBlockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBrowserDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBrowserDemoCtl.xaml.cs index 50c047d6..f7699802 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBrowserDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageBrowserDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ImageBrowserDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageSelectorDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageSelectorDemoCtl.xaml.cs index f2a4c8ee..a631ecf6 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageSelectorDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ImageSelectorDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ImageSelectorDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/LoadingDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/LoadingDemoCtl.xaml.cs index 7e36a7d5..f0db3031 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/LoadingDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/LoadingDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class LoadingDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/MagnifierDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/MagnifierDemoCtl.xaml.cs index ddbf7a80..be76bdbc 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/MagnifierDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/MagnifierDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class MagnifierDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotificationDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotificationDemoCtl.xaml.cs index 8142824e..1aaed8c8 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotificationDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotificationDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class NotificationDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotifyIconDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotifyIconDemoCtl.xaml.cs index cd461a9b..bcf9032f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotifyIconDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NotifyIconDemoCtl.xaml.cs @@ -17,4 +17,4 @@ public partial class NotifyIconDemoCtl private void NotifyIconDemoCtl_Unloaded(object sender, RoutedEventArgs e) => ViewModelLocator.Instance.NotifyIconDemo.Cleanup(); private void ButtonPush_OnClick(object sender, RoutedEventArgs e) => NotifyIconContextContent.CloseContextControl(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NumericUpDownDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NumericUpDownDemoCtl.xaml.cs index 6e8097bd..611e7385 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NumericUpDownDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/NumericUpDownDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class NumericUpDownDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/OutlineTextDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/OutlineTextDemoCtl.xaml.cs index a4afac74..123b0241 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/OutlineTextDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/OutlineTextDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class OutlineTextDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml.cs index 43280026..4e9c8607 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class PaginationDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PasswordBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PasswordBoxDemoCtl.xaml.cs index 3c30f019..3697d19f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PasswordBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PasswordBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class PasswordBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PinBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PinBoxDemoCtl.xaml.cs index 8d367028..17b3a149 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PinBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PinBoxDemoCtl.xaml.cs @@ -17,4 +17,4 @@ public partial class PinBoxDemoCtl Growl.Info(pinBox.Password); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PoptipDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PoptipDemoCtl.xaml.cs index 3ae529d7..beb08430 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PoptipDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PoptipDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class PoptipDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PreviewSliderDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PreviewSliderDemoCtl.xaml.cs index c7de6e22..0313ee00 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PreviewSliderDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PreviewSliderDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class PreviewSliderDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressBarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressBarDemoCtl.xaml.cs index 8e63b600..a6af0224 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressBarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressBarDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ProgressBarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressButtonDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressButtonDemoCtl.xaml.cs index 1db731a7..5ff7442c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressButtonDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ProgressButtonDemoCtl.xaml.cs @@ -61,4 +61,4 @@ public partial class ProgressButtonDemoCtl _timer.Start(); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemoCtl.xaml.cs index bfc235ac..bcdda5fb 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemoCtl.xaml.cs @@ -27,4 +27,4 @@ public partial class PropertyGridDemoCtl get => (PropertyGridDemoModel) GetValue(DemoModelProperty); set => SetValue(DemoModelProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RangeSliderDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RangeSliderDemoCtl.xaml.cs index dfb64cc0..8b918850 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RangeSliderDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RangeSliderDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class RangeSliderDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RateDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RateDemoCtl.xaml.cs index 17770b5a..f14957e7 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RateDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RateDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class RateDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RelativePanelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RelativePanelDemoCtl.xaml.cs index c905890f..cf514cbb 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RelativePanelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RelativePanelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class RelativePanelDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RunningBlockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RunningBlockDemoCtl.xaml.cs index 1a7e1291..4365c90f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RunningBlockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/RunningBlockDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class RunningBlockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScreenshotDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScreenshotDemoCtl.xaml.cs index 107719b8..7d605777 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScreenshotDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScreenshotDemoCtl.xaml.cs @@ -29,4 +29,4 @@ public partial class ScreenshotDemoCtl : IDisposable } public void Dispose() => Screenshot.Snapped -= Screenshot_Snapped; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScrollViewerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScrollViewerDemoCtl.xaml.cs index 8c43ec1f..0f8fc047 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScrollViewerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ScrollViewerDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ScrollViewerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SearchBarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SearchBarDemoCtl.xaml.cs index ec99efd4..a36f374e 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SearchBarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SearchBarDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class SearchBarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ShieldDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ShieldDemoCtl.xaml.cs index 04c7a55e..345bae9e 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ShieldDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/ShieldDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ShieldDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SideMenuDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SideMenuDemoCtl.xaml.cs index 7283c25e..e00177ff 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SideMenuDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SideMenuDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class SideMenuDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SplitButtonDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SplitButtonDemoCtl.xaml.cs index b5f7011d..62646b8b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SplitButtonDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SplitButtonDemoCtl.xaml.cs @@ -13,4 +13,4 @@ public partial class SplitButtonDemoCtl { MessageBox.Show("123"); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SpriteDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SpriteDemoCtl.xaml.cs index 607e5cf3..a5fcf899 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SpriteDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/SpriteDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class SpriteDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/StepBarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/StepBarDemoCtl.xaml.cs index d6305143..7adeb054 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/StepBarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/StepBarDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class StepBarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TabControlDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TabControlDemoCtl.xaml.cs index 9bb07a7e..1cb6625a 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TabControlDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TabControlDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class TabControlDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs index 9b0f5056..f48d959a 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class TagDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TextBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TextBoxDemoCtl.xaml.cs index 30b7a3aa..1eedb806 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TextBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TextBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class TextBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimeBarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimeBarDemoCtl.xaml.cs index 5f65974e..46686525 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimeBarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimeBarDemoCtl.xaml.cs @@ -16,4 +16,4 @@ public partial class TimeBarDemoCtl TimeBarDemo.Hotspots.Add(new DateTimeRange(DateTime.Today.AddHours(-hour), DateTime.Today.AddHours(-hour + 1))); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimePickerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimePickerDemoCtl.xaml.cs index 4fdd4b89..6ae08ea0 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimePickerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TimePickerDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class TimePickerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransferDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransferDemoCtl.xaml.cs index a708d975..00b3c4c7 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransferDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransferDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class TransferDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransitioningContentControlDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransitioningContentControlDemoCtl.xaml.cs index 5bfd12bb..0a0a909a 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransitioningContentControlDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransitioningContentControlDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class TransitioningContentControlDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/UniformSpacingPanelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/UniformSpacingPanelDemoCtl.xaml.cs index 14b3700b..eaf7dc8c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/UniformSpacingPanelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/UniformSpacingPanelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class UniformSpacingPanelDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WaterfallPanelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WaterfallPanelDemoCtl.xaml.cs index 442ab8d1..3fd985c0 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WaterfallPanelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WaterfallPanelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class WaterfallPanelDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs index fe8108cd..64cf4855 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs @@ -60,4 +60,4 @@ public partial class WindowDemoCtl picker.Canceled += delegate { window.Close(); }; window.Show(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppNotification.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppNotification.xaml.cs index 53887f7b..63ebcf0a 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppNotification.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppNotification.xaml.cs @@ -6,4 +6,4 @@ public partial class AppNotification { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppSprite.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppSprite.xaml.cs index bee165cc..f9db9155 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppSprite.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/AppSprite.xaml.cs @@ -6,4 +6,4 @@ public partial class AppSprite { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/BlogsView.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/BlogsView.xaml.cs index a47ba05f..2f40d7e4 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/BlogsView.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/BlogsView.xaml.cs @@ -6,4 +6,4 @@ public partial class BlogsView { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/ContributorsView.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/ContributorsView.xaml.cs index 00592399..50b71a3c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/ContributorsView.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/ContributorsView.xaml.cs @@ -7,4 +7,4 @@ public partial class ContributorsView { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/LeftMainContent.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/LeftMainContent.xaml.cs index 6a06b8ac..ad2c645b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/LeftMainContent.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/LeftMainContent.xaml.cs @@ -118,4 +118,4 @@ public partial class LeftMainContent }), DispatcherPriority.Background); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainContent.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainContent.xaml.cs index d54fa484..6b489f06 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainContent.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainContent.xaml.cs @@ -179,4 +179,4 @@ public partial class MainContent public const string Xml = "XML"; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainWindowContent.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainWindowContent.xaml.cs index 675f6a93..c6e0480b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainWindowContent.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/MainWindowContent.xaml.cs @@ -6,4 +6,4 @@ public partial class MainWindowContent { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.cs index 197feca9..201b8017 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.cs @@ -62,4 +62,4 @@ public partial class NonClientAreaContent Owner = Application.Current.MainWindow }.ShowDialog(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/PracticalDemo.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/PracticalDemo.cs index 7e2af7de..c31eb92e 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/PracticalDemo.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/PracticalDemo.cs @@ -6,4 +6,4 @@ public partial class PracticalDemo { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/ProjectsView.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/ProjectsView.xaml.cs index 39fcf149..7723c2a5 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/ProjectsView.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/ProjectsView.xaml.cs @@ -6,4 +6,4 @@ public partial class ProjectsView { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/UnderConstruction.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/UnderConstruction.xaml.cs index ac28ff73..9727a497 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/UnderConstruction.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/UnderConstruction.xaml.cs @@ -6,4 +6,4 @@ public partial class UnderConstruction { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs index e2a68e28..5ff66010 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs @@ -6,4 +6,4 @@ public partial class WebsitesView { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Practical/Login.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Practical/Login.xaml.cs index a8271f8c..3fe42a62 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Practical/Login.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Practical/Login.xaml.cs @@ -6,4 +6,4 @@ public partial class Login { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BorderDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BorderDemoCtl.xaml.cs index 231d3a1b..88addbac 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BorderDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BorderDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class BorderDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BrushDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BrushDemoCtl.xaml.cs index addd1278..c2547840 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BrushDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/BrushDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class BrushDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ButtonDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ButtonDemoCtl.xaml.cs index c970655e..f71bea38 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ButtonDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ButtonDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ButtonDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CalendarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CalendarDemoCtl.xaml.cs index b04019c7..603cb6f2 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CalendarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CalendarDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class CalendarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CheckBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CheckBoxDemoCtl.xaml.cs index 1ee63b49..0d3355d7 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CheckBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/CheckBoxDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class CheckBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml.cs index 2e9dbc21..e90984a9 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class DataGridDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ExpanderDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ExpanderDemoCtl.xaml.cs index 4dc492a2..8619d31f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ExpanderDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ExpanderDemoCtl.xaml.cs @@ -8,4 +8,4 @@ public partial class ExpanderDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FlowDocumentDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FlowDocumentDemoCtl.xaml.cs index f0fb2f4b..512be919 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FlowDocumentDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FlowDocumentDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class FlowDocumentDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FrameDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FrameDemoCtl.xaml.cs index 0dd5752a..75e04776 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FrameDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/FrameDemoCtl.xaml.cs @@ -53,4 +53,4 @@ public partial class FrameDemoCtl FrameDemo.Navigate(index >= _pageList.Count ? _pageList[0] : _pageList[index]); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GeometryDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GeometryDemoCtl.xaml.cs index 6f21308d..287c2633 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GeometryDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GeometryDemoCtl.xaml.cs @@ -37,4 +37,4 @@ public partial class GeometryDemoCtl }); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GroupBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GroupBoxDemoCtl.xaml.cs index 3e917bed..552e18b1 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GroupBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/GroupBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class GroupBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/LabelDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/LabelDemoCtl.xaml.cs index 20b85fcb..a583c036 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/LabelDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/LabelDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class LabelDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListBoxDemoCtl.xaml.cs index dcb10ff2..ac6f366d 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListBoxDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ListBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListViewDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListViewDemoCtl.xaml.cs index 12aee505..cc97cffe 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListViewDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ListViewDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ListViewDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/MenuDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/MenuDemoCtl.xaml.cs index d6e8e409..c830bee6 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/MenuDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/MenuDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class MenuDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeComboBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeComboBoxDemoCtl.xaml.cs index 0d722523..52a8b334 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeComboBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeComboBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class NativeComboBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs index 3b95c3cf..6afc5e1c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class NativeDatePickerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativePasswordBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativePasswordBoxDemoCtl.xaml.cs index 055898e5..f45d57f1 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativePasswordBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativePasswordBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class NativePasswordBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeProgressBarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeProgressBarDemoCtl.xaml.cs index 45facae8..a722f92f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeProgressBarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeProgressBarDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class NativeProgressBarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeScrollViewerDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeScrollViewerDemoCtl.xaml.cs index 9eff2bcb..2eb77efd 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeScrollViewerDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeScrollViewerDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class NativeScrollViewerDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTabControlDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTabControlDemoCtl.xaml.cs index b5289d4f..5b2abc06 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTabControlDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTabControlDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class NativeTabControlDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTextBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTextBoxDemoCtl.xaml.cs index 45f34839..24d51778 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTextBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeTextBoxDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class NativeTextBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml.cs index 17bcdecb..b0ad717a 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class NativeWindowDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RadioButtonDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RadioButtonDemoCtl.xaml.cs index 43e3335e..bdeafb43 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RadioButtonDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RadioButtonDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class RadioButtonDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RepeatButtonDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RepeatButtonDemoCtl.xaml.cs index 5a963bc0..40f11714 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RepeatButtonDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RepeatButtonDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class RepeatButtonDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RichTextBoxDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RichTextBoxDemoCtl.xaml.cs index 5cf4fa5b..64c8c74b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RichTextBoxDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/RichTextBoxDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class RichTextBoxDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/SliderDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/SliderDemoCtl.xaml.cs index 4e55df28..7b91fed4 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/SliderDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/SliderDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class SliderDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TextBlockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TextBlockDemoCtl.xaml.cs index 4c6f539c..e4d8f7bc 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TextBlockDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TextBlockDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class TextBlockDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToggleButtonDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToggleButtonDemoCtl.xaml.cs index 322ef41c..0bdd5ac9 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToggleButtonDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToggleButtonDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class ToggleButtonDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToolBarDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToolBarDemoCtl.xaml.cs index f4e32fcd..a04ea31e 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToolBarDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/ToolBarDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class ToolBarDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TreeViewDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TreeViewDemoCtl.xaml.cs index f773d8a1..9e0ec36b 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TreeViewDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/TreeViewDemoCtl.xaml.cs @@ -7,4 +7,4 @@ public partial class TreeViewDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs index a81115f8..219fcb11 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class EffectsDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/GeometryAnimationDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/GeometryAnimationDemoCtl.xaml.cs index e3fe188e..ff009535 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/GeometryAnimationDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/GeometryAnimationDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class GeometryAnimationDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/HatchBrushGeneratorDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/HatchBrushGeneratorDemoCtl.xaml.cs index 395b40af..7476e125 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/HatchBrushGeneratorDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/HatchBrushGeneratorDemoCtl.xaml.cs @@ -6,4 +6,4 @@ public partial class HatchBrushGeneratorDemoCtl { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs index 0df7bbef..743186cb 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs @@ -46,7 +46,7 @@ public class ChatBoxViewModel : ViewModelBase #if NET40 set => Set(nameof(ChatString), ref _chatString, value); #else - set => Set(ref _chatString, value); + set => Set(ref _chatString, value); #endif } @@ -168,4 +168,4 @@ public class ChatBoxViewModel : ViewModelBase } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/InteractiveDialogViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/InteractiveDialogViewModel.cs index 83e1eba3..ca6b63a2 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/InteractiveDialogViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/InteractiveDialogViewModel.cs @@ -17,7 +17,7 @@ public class InteractiveDialogViewModel : ViewModelBase, IDialogResultable Set(nameof(Result), ref _result, value); #else - set => Set(ref _result, value); + set => Set(ref _result, value); #endif } @@ -29,9 +29,9 @@ public class InteractiveDialogViewModel : ViewModelBase, IDialogResultable Set(nameof(Message), ref _message, value); #else - set => Set(ref _message, value); + set => Set(ref _message, value); #endif } public RelayCommand CloseCmd => new(() => CloseAction?.Invoke()); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/AutoCompleteTextBoxDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/AutoCompleteTextBoxDemoViewModel.cs index dd3f2446..f655aadc 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/AutoCompleteTextBoxDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/AutoCompleteTextBoxDemoViewModel.cs @@ -20,11 +20,11 @@ public class AutoCompleteTextBoxDemoViewModel : ViewModelBase FilterItems(value); } #else - set - { - Set(ref _searchText, value); - FilterItems(value); - } + set + { + Set(ref _searchText, value); + FilterItems(value); + } #endif } @@ -53,4 +53,4 @@ public class AutoCompleteTextBoxDemoViewModel : ViewModelBase Items.CanNotify = true; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/BadgeDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/BadgeDemoViewModel.cs index a12b7a5c..290e6f88 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/BadgeDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/BadgeDemoViewModel.cs @@ -13,9 +13,9 @@ public class BadgeDemoViewModel : ViewModelBase #if NET40 set => Set(nameof(Count), ref _count, value); #else - set => Set(ref _count, value); + set => Set(ref _count, value); #endif } public RelayCommand CountCmd => new(() => Count++); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CardDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CardDemoViewModel.cs index 8e6157eb..42377b57 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CardDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CardDemoViewModel.cs @@ -23,4 +23,4 @@ public class CardDemoViewModel : DemoViewModelBase DataList.RemoveAt(0); } }); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CoverViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CoverViewModel.cs index 35ba2198..9b0d099a 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CoverViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/CoverViewModel.cs @@ -6,4 +6,4 @@ namespace HandyControlDemo.ViewModel; public class CoverViewModel : DemoViewModelBase { public CoverViewModel(DataService dataService) => DataList = dataService.GetCoverViewDemoDataList(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/DialogDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/DialogDemoViewModel.cs index 1f308be7..dbff46d1 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/DialogDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/DialogDemoViewModel.cs @@ -23,7 +23,7 @@ public class DialogDemoViewModel : ViewModelBase #if NET40 set => Set(nameof(DialogResult), ref _dialogResult, value); #else - set => Set(ref _dialogResult, value); + set => Set(ref _dialogResult, value); #endif } @@ -58,21 +58,21 @@ public class DialogDemoViewModel : ViewModelBase } } #else - public RelayCommand ShowInteractiveDialogCmd => new(async withTimer => await ShowInteractiveDialog(withTimer)); + public RelayCommand ShowInteractiveDialogCmd => new(async withTimer => await ShowInteractiveDialog(withTimer)); - private async Task ShowInteractiveDialog(bool withTimer) + private async Task ShowInteractiveDialog(bool withTimer) + { + if (!withTimer) { - if (!withTimer) - { - DialogResult = await Dialog.Show() - .Initialize(vm => vm.Message = DialogResult) - .GetResultAsync(); - } - else - { - await Dialog.Show(MessageToken.MainWindow).GetResultAsync(); - } + DialogResult = await Dialog.Show() + .Initialize(vm => vm.Message = DialogResult) + .GetResultAsync(); } + else + { + await Dialog.Show(MessageToken.MainWindow).GetResultAsync(); + } + } #endif public RelayCommand NewWindowCmd => new(() => new DialogDemoWindow @@ -81,4 +81,4 @@ public class DialogDemoViewModel : ViewModelBase }.Show()); public RelayCommand ShowWithTokenCmd => new(token => Dialog.Show(new TextDialog(), token)); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/GrowlDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/GrowlDemoViewModel.cs index f5144690..6d31554f 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/GrowlDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/GrowlDemoViewModel.cs @@ -96,4 +96,4 @@ public class GrowlDemoViewModel { Owner = Application.Current.MainWindow }.Show()); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/ImageBrowserDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/ImageBrowserDemoViewModel.cs index 13c34579..677621d4 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/ImageBrowserDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/ImageBrowserDemoViewModel.cs @@ -8,4 +8,4 @@ public class ImageBrowserDemoViewModel { public RelayCommand OpenImgCmd => new(() => new ImageBrowser(new Uri("pack://application:,,,/Resources/Img/1.jpg")).Show()); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotificationDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotificationDemoViewModel.cs index 5f278c71..d9b292c1 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotificationDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotificationDemoViewModel.cs @@ -18,7 +18,7 @@ public class NotificationDemoViewModel : ViewModelBase #if NET40 set => Set(nameof(ShowAnimation) ,ref _showAnimation, value); #else - set => Set(ref _showAnimation, value); + set => Set(ref _showAnimation, value); #endif } @@ -30,7 +30,7 @@ public class NotificationDemoViewModel : ViewModelBase #if NET40 set => Set(nameof(StaysOpen) ,ref _staysOpen, value); #else - set => Set(ref _staysOpen, value); + set => Set(ref _staysOpen, value); #endif } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotifyIconDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotifyIconDemoViewModel.cs index abd00ae5..f45cc02d 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotifyIconDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/NotifyIconDemoViewModel.cs @@ -114,4 +114,4 @@ public class NotifyIconDemoViewModel : ViewModelBase GlobalData.NotifyIconIsShow = false; _isCleanup = false; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/PaginationDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/PaginationDemoViewModel.cs index c3665958..80de3dfe 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/PaginationDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/PaginationDemoViewModel.cs @@ -50,4 +50,4 @@ public class PaginationDemoViewModel : DemoViewModelBase { DataList = _totalDataList.Skip((info.Info - 1) * 10).Take(10).ToList(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SideMenuDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SideMenuDemoViewModel.cs index 8fc78147..becc47d5 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SideMenuDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SideMenuDemoViewModel.cs @@ -14,4 +14,4 @@ public class SideMenuDemoViewModel : ViewModelBase public RelayCommand SelectCmd => new(Select); private void Select(string header) => Growl.Success(header); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SplitButtonDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SplitButtonDemoViewModel.cs index 7fd615c4..993f1257 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SplitButtonDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SplitButtonDemoViewModel.cs @@ -7,4 +7,4 @@ namespace HandyControlDemo.ViewModel; public class SplitButtonDemoViewModel : ViewModelBase { public RelayCommand SelectCmd => new(str => Growl.Info(str)); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SpriteDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SpriteDemoViewModel.cs index 195a2774..978bcb49 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SpriteDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/SpriteDemoViewModel.cs @@ -7,4 +7,4 @@ namespace HandyControlDemo.ViewModel; public class SpriteDemoViewModel { public RelayCommand OpenCmd => new(() => Sprite.Show(new AppSprite())); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/StepBarDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/StepBarDemoViewModel.cs index 24ddc640..288cbfff 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/StepBarDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/StepBarDemoViewModel.cs @@ -19,7 +19,7 @@ public class StepBarDemoViewModel : DemoViewModelBase #if NET40 set => Set(nameof(StepIndex), ref _stepIndex, value); #else - set => Set(ref _stepIndex, value); + set => Set(ref _stepIndex, value); #endif } @@ -48,4 +48,4 @@ public class StepBarDemoViewModel : DemoViewModelBase stepBar.Prev(); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TabControlDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TabControlDemoViewModel.cs index 06e05db7..72c817dd 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TabControlDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TabControlDemoViewModel.cs @@ -24,4 +24,4 @@ public class TabControlDemoViewModel : DemoViewModelBase { Growl.Info($"{(args.OriginalSource as TabItem)?.Header} Closed"); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TagDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TagDemoViewModel.cs index 8c65b98a..32ca67d7 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TagDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/TagDemoViewModel.cs @@ -25,7 +25,7 @@ public class TagDemoViewModel : ViewModelBase #if NET40 set => Set(nameof(TagName), ref _tagName, value); #else - set => Set(ref _tagName, value); + set => Set(ref _tagName, value); #endif } @@ -44,4 +44,4 @@ public class TagDemoViewModel : ViewModelBase }); TagName = string.Empty; }); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/WindowDemoViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/WindowDemoViewModel.cs index bef40e81..a168aab7 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/WindowDemoViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Controls/WindowDemoViewModel.cs @@ -16,4 +16,4 @@ public class WindowDemoViewModel window.ShowDialog(); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/DemoViewModelBase`1.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/DemoViewModelBase`1.cs index 349c78b8..721b26f1 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/DemoViewModelBase`1.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/DemoViewModelBase`1.cs @@ -19,7 +19,7 @@ public class DemoViewModelBase : ViewModelBase #if NET40 set => Set(nameof(DataList), ref _dataList, value); #else - set => Set(ref _dataList, value); + set => Set(ref _dataList, value); #endif } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Main/ItemsDisplayViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Main/ItemsDisplayViewModel.cs index b4b6021e..4999eb18 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Main/ItemsDisplayViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Main/ItemsDisplayViewModel.cs @@ -27,4 +27,4 @@ public class ItemsDisplayViewModel : DemoViewModelBase set => Set(ref _dataGot, value); #endif } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Main/MainViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Main/MainViewModel.cs index 849ff600..6c97dddd 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Main/MainViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Main/MainViewModel.cs @@ -60,7 +60,7 @@ public class MainViewModel : DemoViewModelBase #if NET40 set => Set(nameof(SubContent), ref _subContent, value); #else - set => Set(ref _subContent, value); + set => Set(ref _subContent, value); #endif } @@ -73,7 +73,7 @@ public class MainViewModel : DemoViewModelBase #if NET40 set => Set(nameof(ContentTitle), ref _contentTitle, value); #else - set => Set(ref _contentTitle, value); + set => Set(ref _contentTitle, value); #endif } @@ -141,7 +141,7 @@ public class MainViewModel : DemoViewModelBase #if NET40 Task.Factory.StartNew(() => #else - Task.Run(() => + Task.Run(() => #endif { DataList = _dataService.GetDemoDataList(); @@ -187,4 +187,4 @@ public class MainViewModel : DemoViewModelBase } #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Main/NonClientAreaViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Main/NonClientAreaViewModel.cs index c5b07bc6..a3f5ef51 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Main/NonClientAreaViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Main/NonClientAreaViewModel.cs @@ -30,7 +30,7 @@ public class NonClientAreaViewModel : ViewModelBase #if NET40 set => Set(nameof(VersionInfo), ref _versionInfo, value); #else - set => Set(ref _versionInfo, value); + set => Set(ref _versionInfo, value); #endif } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs index e21a46a0..761e2eaa 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs @@ -101,4 +101,4 @@ public class ViewModelLocator public InputElementDemoViewModel InputElementDemo => new(); #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/AboutWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/AboutWindow.xaml.cs index 892ced07..9c8b3d5f 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/AboutWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/AboutWindow.xaml.cs @@ -31,4 +31,4 @@ public partial class AboutWindow get => (string) GetValue(VersionProperty); set => SetValue(VersionProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/BlurWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/BlurWindow.xaml.cs index a15f0882..a89461e7 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/BlurWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/BlurWindow.xaml.cs @@ -6,4 +6,4 @@ public partial class BlurWindow { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/CommonWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/CommonWindow.xaml.cs index 06dbfe90..170f895b 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/CommonWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/CommonWindow.xaml.cs @@ -6,4 +6,4 @@ public partial class CommonWindow { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/CustomNonClientAreaWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/CustomNonClientAreaWindow.xaml.cs index 0c1641f4..8c03012a 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/CustomNonClientAreaWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/CustomNonClientAreaWindow.xaml.cs @@ -6,4 +6,4 @@ public partial class CustomNonClientAreaWindow { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/DialogDemoWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/DialogDemoWindow.xaml.cs index 79e9d734..da286df7 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/DialogDemoWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/DialogDemoWindow.xaml.cs @@ -24,4 +24,4 @@ public partial class DialogDemoWindow get => (string) GetValue(DialogTokenProperty); set => SetValue(DialogTokenProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/GlowWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/GlowWindow.xaml.cs index 81501c45..9a2aca14 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/GlowWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/GlowWindow.xaml.cs @@ -6,4 +6,4 @@ public partial class GlowWindow { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/GrowlDemoWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/GrowlDemoWindow.xaml.cs index 59646aa1..45c1b3dd 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/GrowlDemoWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/GrowlDemoWindow.xaml.cs @@ -6,4 +6,4 @@ public partial class GrowlDemoWindow { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/NativeCommonWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/NativeCommonWindow.xaml.cs index eb7bdb61..36e346d9 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/NativeCommonWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/NativeCommonWindow.xaml.cs @@ -6,4 +6,4 @@ public partial class NativeCommonWindow { InitializeComponent(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/NavigationWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/NavigationWindow.xaml.cs index d5a46d82..c47317b3 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/NavigationWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/NavigationWindow.xaml.cs @@ -52,4 +52,4 @@ public partial class NavigationWindow Navigate(index >= _pageList.Count ? _pageList[0] : _pageList[index]); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/NoNonClientAreaDragableWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/NoNonClientAreaDragableWindow.xaml.cs index 79103871..62c31d2e 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/NoNonClientAreaDragableWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/NoNonClientAreaDragableWindow.xaml.cs @@ -10,4 +10,4 @@ public partial class NoNonClientAreaDragableWindow } private void ButtonClose_OnClick(object sender, RoutedEventArgs e) => Close(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControlDemo_Shared/Window/TouchDragMoveWindow.xaml.cs b/src/Shared/HandyControlDemo_Shared/Window/TouchDragMoveWindow.xaml.cs index 42b1606b..aaf2e416 100644 --- a/src/Shared/HandyControlDemo_Shared/Window/TouchDragMoveWindow.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/Window/TouchDragMoveWindow.xaml.cs @@ -28,4 +28,4 @@ public partial class TouchDragMoveWindow _currentTouchCount++; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Collections/ManualObservableCollection`1.cs b/src/Shared/HandyControl_Shared/Collections/ManualObservableCollection`1.cs index b4133ee5..6e5a6a5a 100644 --- a/src/Shared/HandyControl_Shared/Collections/ManualObservableCollection`1.cs +++ b/src/Shared/HandyControl_Shared/Collections/ManualObservableCollection`1.cs @@ -81,4 +81,4 @@ public class ManualObservableCollection : ObservableCollection } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Collections/Pool/IPool`1.cs b/src/Shared/HandyControl_Shared/Collections/Pool/IPool`1.cs index a43eb0af..bd9ff785 100644 --- a/src/Shared/HandyControl_Shared/Collections/Pool/IPool`1.cs +++ b/src/Shared/HandyControl_Shared/Collections/Pool/IPool`1.cs @@ -5,4 +5,4 @@ public interface IPool T Acquire(); bool Release(T instance); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Collections/Pool/SimplePool`1.cs b/src/Shared/HandyControl_Shared/Collections/Pool/SimplePool`1.cs index 835b8408..4a030287 100644 --- a/src/Shared/HandyControl_Shared/Collections/Pool/SimplePool`1.cs +++ b/src/Shared/HandyControl_Shared/Collections/Pool/SimplePool`1.cs @@ -60,4 +60,4 @@ public class SimplePool : IPool } return false; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Collections/Pool/SynchronizedPool`1.cs b/src/Shared/HandyControl_Shared/Collections/Pool/SynchronizedPool`1.cs index 907acdd6..7345b677 100644 --- a/src/Shared/HandyControl_Shared/Collections/Pool/SynchronizedPool`1.cs +++ b/src/Shared/HandyControl_Shared/Collections/Pool/SynchronizedPool`1.cs @@ -24,4 +24,4 @@ public class SynchronizedPool : SimplePool return base.Release(element); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Collections/Queue/Deque`1.cs b/src/Shared/HandyControl_Shared/Collections/Queue/Deque`1.cs index 1ff655c9..a67342d5 100644 --- a/src/Shared/HandyControl_Shared/Collections/Queue/Deque`1.cs +++ b/src/Shared/HandyControl_Shared/Collections/Queue/Deque`1.cs @@ -332,4 +332,4 @@ public class Deque : IEnumerable, ICollection void ICollection.CopyTo(Array array, int index) => CopyTo((T[]) array, index); IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/BackgroundSwitchElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/BackgroundSwitchElement.cs index 3084a2be..d135caa1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/BackgroundSwitchElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/BackgroundSwitchElement.cs @@ -18,4 +18,4 @@ public class BackgroundSwitchElement public static void SetMouseDownBackground(DependencyObject element, Brush value) => element.SetValue(MouseDownBackgroundProperty, value); public static Brush GetMouseDownBackground(DependencyObject element) => (Brush) element.GetValue(MouseDownBackgroundProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/BorderElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/BorderElement.cs index 15cc91b8..1a53af60 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/BorderElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/BorderElement.cs @@ -46,4 +46,4 @@ public class BorderElement public static bool GetCircular(DependencyObject element) => (bool) element.GetValue(CircularProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/DataGridAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/DataGridAttach.cs index b5de3463..ad1788ed 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/DataGridAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/DataGridAttach.cs @@ -345,4 +345,4 @@ public class DataGridAttach public static bool GetShowSelectAllButton(DependencyObject element) => (bool) element.GetValue(ShowSelectAllButtonProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs index 67b11a60..20d80110 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs @@ -24,4 +24,4 @@ public class DropDownElement public static bool GetAutoWidth(DependencyObject element) => (bool) element.GetValue(AutoWidthProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/EdgeElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/EdgeElement.cs index b99261de..dfac33c6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/EdgeElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/EdgeElement.cs @@ -43,4 +43,4 @@ public class EdgeElement private static void OnEdgeContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) => SetShowEdgeContent(d, !(GetLeftContent(d) == null && GetTopContent(d) == null && GetRightContent(d) == null && GetBottomContent(d) == null)); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/GridAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/GridAttach.cs index 24690922..1584989e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/GridAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/GridAttach.cs @@ -92,4 +92,4 @@ public class GridAttach public static string GetColumnName(DependencyObject element) => (string) element.GetValue(ColumnNameProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/IconElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/IconElement.cs index 3a7d9223..176cb5e6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/IconElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/IconElement.cs @@ -31,4 +31,4 @@ public class IconElement public static double GetHeight(DependencyObject element) => (double) element.GetValue(HeightProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/IconSwitchElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/IconSwitchElement.cs index f286b985..91d79f82 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/IconSwitchElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/IconSwitchElement.cs @@ -17,4 +17,4 @@ public class IconSwitchElement : IconElement { return (Geometry) element.GetValue(GeometrySelectedProperty); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/ImageAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/ImageAttach.cs index da6cce4e..43bbe72e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/ImageAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/ImageAttach.cs @@ -38,4 +38,4 @@ public class ImageAttach public static ImageSource GetSourceFailed(DependencyObject element) => (ImageSource) element.GetValue(SourceFailedProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/InfoElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/InfoElement.cs index e7b3562f..ff6c5422 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/InfoElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/InfoElement.cs @@ -89,4 +89,4 @@ public class InfoElement : TitleElement public static bool GetShowClearButton(DependencyObject element) => (bool) element.GetValue(ShowClearButtonProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/MenuTopLineAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/MenuTopLineAttach.cs index 042100d5..0dc9f683 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/MenuTopLineAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/MenuTopLineAttach.cs @@ -103,4 +103,4 @@ public class MenuTopLineAttach internal static FrameworkElement GetTopLine(DependencyObject element) => (FrameworkElement) element.GetValue(TopLineProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/PanelElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/PanelElement.cs index 3ad90a89..c0fa668e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/PanelElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/PanelElement.cs @@ -40,4 +40,4 @@ public class PanelElement private static FluidMoveBehavior GetTempFluidMoveBehavior(DependencyObject element) => (FluidMoveBehavior) element.GetValue(TempFluidMoveBehaviorProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/PasswordBoxAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/PasswordBoxAttach.cs index b1df3a4c..86d365ce 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/PasswordBoxAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/PasswordBoxAttach.cs @@ -50,4 +50,4 @@ public class PasswordBoxAttach SetPasswordLength(passwordBox, passwordBox.Password.Length); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/RectangleAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/RectangleAttach.cs index 1e4e1dbd..b51ca297 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/RectangleAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/RectangleAttach.cs @@ -41,4 +41,4 @@ public class RectangleAttach public static bool GetCircular(DependencyObject element) => (bool) element.GetValue(CircularProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs index 76fb78b6..1f35f9c0 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs @@ -52,4 +52,4 @@ public class ScrollViewerAttach public static Orientation GetOrientation(DependencyObject element) => (Orientation) element.GetValue(OrientationProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/StatusSwitchElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/StatusSwitchElement.cs index 1d3aba30..d423dc88 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/StatusSwitchElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/StatusSwitchElement.cs @@ -24,4 +24,4 @@ public class StatusSwitchElement public static void SetHideUncheckedElement(DependencyObject element, bool value) => element.SetValue(HideUncheckedElementProperty, ValueBoxes.BooleanBox(value)); public static bool GetHideUncheckedElement(DependencyObject element) => (bool) element.GetValue(HideUncheckedElementProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/TextBlockAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/TextBlockAttach.cs index 44cd3a53..7b25ba03 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/TextBlockAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/TextBlockAttach.cs @@ -67,4 +67,4 @@ public class TextBlockAttach return formattedText.WidthIncludingTrailingWhitespace; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/TipElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/TipElement.cs index eac798fd..b6ea774d 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/TipElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/TipElement.cs @@ -27,4 +27,4 @@ public class TipElement public static string GetStringFormat(DependencyObject element) => (string) element.GetValue(StringFormatProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/TitleElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/TitleElement.cs index 03bd1b0e..b84d0c48 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/TitleElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/TitleElement.cs @@ -84,4 +84,4 @@ public class TitleElement public static Thickness GetMarginOnTheLeft(DependencyObject element) => (Thickness) element.GetValue(MarginOnTheLeftProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/VisualElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/VisualElement.cs index 865303c3..cb36d6e8 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/VisualElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/VisualElement.cs @@ -49,4 +49,4 @@ public class VisualElement public static string GetText(DependencyObject element) => (string) element.GetValue(TextProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/WindowAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/WindowAttach.cs index 02c0c911..bec87f0b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/WindowAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/WindowAttach.cs @@ -145,4 +145,4 @@ public static class WindowAttach public static bool GetHideWhenClosing(DependencyObject element) => (bool) element.GetValue(HideWhenClosingProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/AdornerElement.cs b/src/Shared/HandyControl_Shared/Controls/Base/AdornerElement.cs index 788c1fe4..0a5c3bb8 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/AdornerElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/AdornerElement.cs @@ -83,4 +83,4 @@ public abstract class AdornerElement : Control, IDisposable protected abstract void Dispose(); void IDisposable.Dispose() => Dispose(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSelectableItem.cs b/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSelectableItem.cs index 4eb968f9..e76a0b2c 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSelectableItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSelectableItem.cs @@ -21,4 +21,4 @@ public class HeaderedSelectableItem : SelectableItem get => (DataTemplate) GetValue(HeaderTemplateProperty); set => SetValue(HeaderTemplateProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSimpleItemsControl.cs b/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSimpleItemsControl.cs index c732d81e..48db14c8 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSimpleItemsControl.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/HeaderedSimpleItemsControl.cs @@ -12,4 +12,4 @@ public class HeaderedSimpleItemsControl : SimpleItemsControl get => GetValue(HeaderProperty); set => SetValue(HeaderProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/IGravatarGenerator.cs b/src/Shared/HandyControl_Shared/Controls/Base/IGravatarGenerator.cs index bb1afdd1..e3923394 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/IGravatarGenerator.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/IGravatarGenerator.cs @@ -3,4 +3,4 @@ public interface IGravatarGenerator { object GetGravatar(string id); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/ISelectable.cs b/src/Shared/HandyControl_Shared/Controls/Base/ISelectable.cs index 86eeff68..e6f3b4ba 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/ISelectable.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/ISelectable.cs @@ -7,4 +7,4 @@ public interface ISelectable event RoutedEventHandler Selected; bool IsSelected { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/ISingleOpen.cs b/src/Shared/HandyControl_Shared/Controls/Base/ISingleOpen.cs index acc656ac..64385240 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/ISingleOpen.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/ISingleOpen.cs @@ -5,4 +5,4 @@ namespace HandyControl.Controls; public interface ISingleOpen : IDisposable { bool CanDispose { get; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/RegularItemsControl.cs b/src/Shared/HandyControl_Shared/Controls/Base/RegularItemsControl.cs index 6c401965..8dc00f9a 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/RegularItemsControl.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/RegularItemsControl.cs @@ -37,4 +37,4 @@ public class RegularItemsControl : SimpleItemsControl get => (Thickness) GetValue(ItemMarginProperty); set => SetValue(ItemMarginProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/SelectableItem.cs b/src/Shared/HandyControl_Shared/Controls/Base/SelectableItem.cs index 8d8bd1fe..07df5d67 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/SelectableItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/SelectableItem.cs @@ -107,4 +107,4 @@ public class SelectableItem : ContentControl, ISelectable add => AddHandler(DeselectedEvent, value); remove => RemoveHandler(DeselectedEvent, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Base/SimpleItemsControl.cs b/src/Shared/HandyControl_Shared/Controls/Base/SimpleItemsControl.cs index c8e68096..a6de57b5 100644 --- a/src/Shared/HandyControl_Shared/Controls/Base/SimpleItemsControl.cs +++ b/src/Shared/HandyControl_Shared/Controls/Base/SimpleItemsControl.cs @@ -163,4 +163,4 @@ public class SimpleItemsControl : Control protected virtual void UpdateItems() { } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Block/FloatingBlock.cs b/src/Shared/HandyControl_Shared/Controls/Block/FloatingBlock.cs index 858a5ba7..a20069ca 100644 --- a/src/Shared/HandyControl_Shared/Controls/Block/FloatingBlock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Block/FloatingBlock.cs @@ -191,4 +191,4 @@ public class FloatingBlock : Control return block; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBlock.cs b/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBlock.cs index 13dc8a4c..3dbc02f4 100644 --- a/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBlock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBlock.cs @@ -195,4 +195,4 @@ public class RunningBlock : ContentControl _storyboard.Children.Add(animation); _storyboard.Begin(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBorder.cs b/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBorder.cs index e282e6a9..2f1b296b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBorder.cs +++ b/src/Shared/HandyControl_Shared/Controls/Block/RunningBlock/RunningBorder.cs @@ -61,4 +61,4 @@ public class RunningBorder : Border } private static Size ConvertThickness2Size(Thickness th) => new(th.Left + th.Right, th.Top + th.Bottom); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Block/ToggleBlock.cs b/src/Shared/HandyControl_Shared/Controls/Block/ToggleBlock.cs index afc287c9..ff0997c1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Block/ToggleBlock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Block/ToggleBlock.cs @@ -55,4 +55,4 @@ public class ToggleBlock : Control get => GetValue(IndeterminateContentProperty); set => SetValue(IndeterminateContentProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Button/ButtonGroup.cs b/src/Shared/HandyControl_Shared/Controls/Button/ButtonGroup.cs index 43613419..9b569b42 100644 --- a/src/Shared/HandyControl_Shared/Controls/Button/ButtonGroup.cs +++ b/src/Shared/HandyControl_Shared/Controls/Button/ButtonGroup.cs @@ -37,4 +37,4 @@ public class ButtonGroup : ItemsControl item.Style = ItemContainerStyleSelector?.SelectStyle(item, this); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuButton.cs b/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuButton.cs index c04a3a5b..6174821b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuButton.cs +++ b/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuButton.cs @@ -19,4 +19,4 @@ public class ContextMenuButton : Button Menu.IsOpen = true; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuToggleButton.cs b/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuToggleButton.cs index 6f54616e..47c6c7fd 100644 --- a/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuToggleButton.cs +++ b/src/Shared/HandyControl_Shared/Controls/Button/ContextMenuToggleButton.cs @@ -27,4 +27,4 @@ public class ContextMenuToggleButton : ToggleButton } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Button/ProgressButton.cs b/src/Shared/HandyControl_Shared/Controls/Button/ProgressButton.cs index 2a858866..7cf680ea 100644 --- a/src/Shared/HandyControl_Shared/Controls/Button/ProgressButton.cs +++ b/src/Shared/HandyControl_Shared/Controls/Button/ProgressButton.cs @@ -23,4 +23,4 @@ public class ProgressButton : ToggleButton get => (double) GetValue(ProgressProperty); set => SetValue(ProgressProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Button/SplitButton.cs b/src/Shared/HandyControl_Shared/Controls/Button/SplitButton.cs index 0488bfc5..acb762a9 100644 --- a/src/Shared/HandyControl_Shared/Controls/Button/SplitButton.cs +++ b/src/Shared/HandyControl_Shared/Controls/Button/SplitButton.cs @@ -77,4 +77,4 @@ public class SplitButton : ButtonBase SetCurrentValue(IsDropDownOpenProperty, ValueBoxes.TrueBox); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Carousel/Carousel.cs b/src/Shared/HandyControl_Shared/Controls/Carousel/Carousel.cs index e7b1dc03..d2c689c1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Carousel/Carousel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Carousel/Carousel.cs @@ -452,4 +452,4 @@ public class Carousel : SimpleItemsControl, IDisposable { } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Carousel/CarouselItem.cs b/src/Shared/HandyControl_Shared/Controls/Carousel/CarouselItem.cs index 3b1d4aba..a9fe44c4 100644 --- a/src/Shared/HandyControl_Shared/Controls/Carousel/CarouselItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Carousel/CarouselItem.cs @@ -5,4 +5,4 @@ namespace HandyControl.Controls; public class CarouselItem : ContentControl { -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorDropper.cs b/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorDropper.cs index 2eed1227..ac3870e3 100644 --- a/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorDropper.cs +++ b/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorDropper.cs @@ -102,4 +102,4 @@ internal class ColorDropper InteropMethods.ReleaseDC(desk, dc); return Color.FromArgb(255, (byte) ((a >> 0) & 0xff), (byte) ((a >> 8) & 0xff), (byte) ((a >> 16) & 0xff)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorPicker.cs b/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorPicker.cs index df7e568f..6d6060a5 100644 --- a/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorPicker.cs +++ b/src/Shared/HandyControl_Shared/Controls/ColorPicker/ColorPicker.cs @@ -739,4 +739,4 @@ public class ColorPicker : Control, ISingleOpen } public bool CanDispose => true; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlow.cs b/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlow.cs index 3162c61a..3bb26bf5 100644 --- a/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlow.cs +++ b/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlow.cs @@ -294,4 +294,4 @@ public class CoverFlow : Control Content = content }); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlowItem.cs b/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlowItem.cs index 9d0ab657..b1738f74 100644 --- a/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlowItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Cover/CoverFlow/CoverFlowItem.cs @@ -153,4 +153,4 @@ public class CoverFlowItem : ModelVisual3D } return false; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverView.cs b/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverView.cs index d0a3b70d..5cb9c9b7 100644 --- a/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverView.cs +++ b/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverView.cs @@ -420,4 +420,4 @@ public class CoverView : RegularItemsControl { } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewContent.cs b/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewContent.cs index 9bed6cae..4615324b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewContent.cs +++ b/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewContent.cs @@ -118,4 +118,4 @@ public class CoverViewContent : ContentControl CanSwitch = false; _content.BeginAnimation(HeightProperty, animation); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewItem.cs b/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewItem.cs index 3b9d8ed3..22f8fd64 100644 --- a/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Cover/CoverView/CoverViewItem.cs @@ -3,4 +3,4 @@ public class CoverViewItem : HeaderedSelectableItem { internal int Index { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Dialog/Dialog.cs b/src/Shared/HandyControl_Shared/Controls/Dialog/Dialog.cs index 01982ad2..0b949b40 100644 --- a/src/Shared/HandyControl_Shared/Controls/Dialog/Dialog.cs +++ b/src/Shared/HandyControl_Shared/Controls/Dialog/Dialog.cs @@ -172,4 +172,4 @@ public class Dialog : ContentControl } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Dialog/DialogContainer.cs b/src/Shared/HandyControl_Shared/Controls/Dialog/DialogContainer.cs index e12b7215..a045a5c3 100644 --- a/src/Shared/HandyControl_Shared/Controls/Dialog/DialogContainer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Dialog/DialogContainer.cs @@ -5,4 +5,4 @@ namespace HandyControl.Controls; public class DialogContainer : AdornerDecorator { -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Drawer/Drawer.cs b/src/Shared/HandyControl_Shared/Controls/Drawer/Drawer.cs index 72283303..ed3834a4 100644 --- a/src/Shared/HandyControl_Shared/Controls/Drawer/Drawer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Drawer/Drawer.cs @@ -425,4 +425,4 @@ public class Drawer : FrameworkElement target.DataContext = newValue ?? this; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Drawer/DrawerContainer.cs b/src/Shared/HandyControl_Shared/Controls/Drawer/DrawerContainer.cs index 89381a86..3a05bb1e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Drawer/DrawerContainer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Drawer/DrawerContainer.cs @@ -5,4 +5,4 @@ namespace HandyControl.Controls; public class DrawerContainer : AdornerDecorator { -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs b/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs index e5af6f77..12be5cc9 100644 --- a/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs +++ b/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs @@ -917,4 +917,4 @@ public class Growl : Control private void ButtonCancel_OnClick(object sender, RoutedEventArgs e) => Close(false); private void ButtonOk_OnClick(object sender, RoutedEventArgs e) => Close(true); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Growl/GrowlWindow.cs b/src/Shared/HandyControl_Shared/Controls/Growl/GrowlWindow.cs index b7deb68e..bbc38297 100644 --- a/src/Shared/HandyControl_Shared/Controls/Growl/GrowlWindow.cs +++ b/src/Shared/HandyControl_Shared/Controls/Growl/GrowlWindow.cs @@ -38,4 +38,4 @@ public sealed class GrowlWindow : Window protected override void OnSourceInitialized(EventArgs e) => InteropMethods.IntDestroyMenu(this.GetHwndSource().CreateHandleRef()); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs b/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs index 318246a5..63c9829d 100644 --- a/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs +++ b/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs @@ -514,4 +514,4 @@ public class GifImage : Image, IDisposable InvalidateVisual(); })); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Image/ImageBlock.cs b/src/Shared/HandyControl_Shared/Controls/Image/ImageBlock.cs index 0b6daaca..6b6f469b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Image/ImageBlock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Image/ImageBlock.cs @@ -228,4 +228,4 @@ public class ImageBlock : FrameworkElement _currentIndex++; return rect; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs b/src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs index 13ce2fcd..5795131d 100644 --- a/src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs @@ -923,4 +923,4 @@ public class ImageViewer : Control private void CanvasSmallImg_OnMouseLeftButtonUp(object sender, MouseButtonEventArgs e) => _imgSmallIsMouseLeftButtonDown = false; private void CanvasSmallImg_OnMouseMove(object sender, MouseEventArgs e) => MoveSmallImg(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBox.cs index 54ccaec5..178989da 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBox.cs @@ -155,4 +155,4 @@ public class AutoCompleteTextBox : ComboBox SetCurrentValue(IsDropDownOpenProperty, ValueBoxes.TrueBox); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBoxItem.cs b/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBoxItem.cs index 520814bc..08b07142 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBoxItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/AutoCompleteTextBox/AutoCompleteTextBoxItem.cs @@ -5,4 +5,4 @@ namespace HandyControl.Controls; public class AutoCompleteTextBoxItem : ComboBoxItem { -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBox.cs index 01f4d432..b5f01c3b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBox.cs @@ -289,4 +289,4 @@ public class CheckComboBox : ListBox, IDataInput } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBoxItem.cs b/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBoxItem.cs index 5f1cb89e..b85211b1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBoxItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/CheckComboBox/CheckComboBoxItem.cs @@ -5,4 +5,4 @@ namespace HandyControl.Controls; public class CheckComboBoxItem : ListBoxItem { -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/ComboBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/ComboBox.cs index e34e40a8..ebfc4410 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/ComboBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/ComboBox.cs @@ -72,7 +72,7 @@ public class ComboBox : System.Windows.Controls.ComboBox, IDataInput _editableTextBox.SetBinding(SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - _editableTextBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + _editableTextBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif _editableTextBox.SetBinding(SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); _editableTextBox.SetBinding(CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -93,7 +93,7 @@ public class ComboBox : System.Windows.Controls.ComboBox, IDataInput UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged, Mode = BindingMode.OneWayToSource, #if !NET40 - Delay = 500, + Delay = 500, #endif Source = this }); @@ -128,12 +128,12 @@ public class ComboBox : System.Windows.Controls.ComboBox, IDataInput } #if !NET40 - protected override void OnDropDownClosed(EventArgs e) - { - base.OnDropDownClosed(e); + protected override void OnDropDownClosed(EventArgs e) + { + base.OnDropDownClosed(e); - _isAutoCompleteAction = false; - } + _isAutoCompleteAction = false; + } #endif private void EditableTextBox_GotFocus(object sender, RoutedEventArgs e) @@ -271,7 +271,7 @@ public class ComboBox : System.Windows.Controls.ComboBox, IDataInput ctl._autoCompleteTimer.Stop(); ctl._autoCompleteTimer.Start(); #else - ctl.UpdateSearchItems(e.NewValue as string); + ctl.UpdateSearchItems(e.NewValue as string); #endif } @@ -298,14 +298,14 @@ public class ComboBox : System.Windows.Controls.ComboBox, IDataInput #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(ComboBox)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(ComboBox)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -442,4 +442,4 @@ public class ComboBox : System.Windows.Controls.ComboBox, IDataInput SelectedValue = comboBoxItem.Content; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/DatePicker.cs b/src/Shared/HandyControl_Shared/Controls/Input/DatePicker.cs index 95db140e..f1077bea 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/DatePicker.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/DatePicker.cs @@ -40,7 +40,7 @@ public class DatePicker : System.Windows.Controls.DatePicker, IDataInput { _textBox.SetBinding(SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif _textBox.SetBinding(SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); _textBox.SetBinding(CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -100,14 +100,14 @@ public class DatePicker : System.Windows.Controls.DatePicker, IDataInput #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(DatePicker)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(DatePicker)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -174,4 +174,4 @@ public class DatePicker : System.Windows.Controls.DatePicker, IDataInput } return !isError; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs b/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs index 83b05e3c..f20e7ad0 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs @@ -289,14 +289,14 @@ public class DateTimePicker : Control, IDataInput #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(DateTimePicker)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(DateTimePicker)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -378,7 +378,7 @@ public class DateTimePicker : Control, IDataInput _textBox.SetBinding(SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif _textBox.SetBinding(SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); _textBox.SetBinding(CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -542,29 +542,29 @@ public class DateTimePicker : Control, IDataInput switch (e.Key) { case Key.System: - { - switch (e.SystemKey) { - case Key.Down: + switch (e.SystemKey) { - if ((Keyboard.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) - { - TogglePopup(); - return true; - } + case Key.Down: + { + if ((Keyboard.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) + { + TogglePopup(); + return true; + } - break; + break; + } } + + break; } - break; - } - case Key.Enter: - { - SetSelectedDateTime(); - return true; - } + { + SetSelectedDateTime(); + return true; + } } return false; @@ -762,4 +762,4 @@ public class DateTimePicker : Control, IDataInput } #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/IDataInput.cs b/src/Shared/HandyControl_Shared/Controls/Input/IDataInput.cs index d1a1fd2d..0ec375c0 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/IDataInput.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/IDataInput.cs @@ -39,4 +39,4 @@ public interface IDataInput /// 是否显示清除按钮 /// bool ShowClearButton { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/ImageSelector.cs b/src/Shared/HandyControl_Shared/Controls/Input/ImageSelector.cs index 2d8e965f..b97d5cc1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/ImageSelector.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/ImageSelector.cs @@ -133,4 +133,4 @@ public class ImageSelector : Control get => (bool) GetValue(HasValueProperty); set => SetValue(HasValueProperty, ValueBoxes.BooleanBox(value)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/NumericUpDown.cs b/src/Shared/HandyControl_Shared/Controls/Input/NumericUpDown.cs index fce25db2..a8aa262d 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/NumericUpDown.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/NumericUpDown.cs @@ -53,7 +53,7 @@ public class NumericUpDown : Control { _textBox.SetBinding(SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif _textBox.SetBinding(SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); _textBox.SetBinding(CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -311,14 +311,14 @@ public class NumericUpDown : Control #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(NumericUpDown)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(NumericUpDown)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -339,4 +339,4 @@ public class NumericUpDown : Control get => (Brush) GetValue(CaretBrushProperty); set => SetValue(CaretBrushProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/PasswordBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/PasswordBox.cs index 62072d09..0794949b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/PasswordBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/PasswordBox.cs @@ -160,14 +160,14 @@ public class PasswordBox : Control, IDataInput #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(PasswordBox)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(PasswordBox)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -191,10 +191,10 @@ public class PasswordBox : Control, IDataInput #if !NET40 - public static readonly DependencyProperty IsSelectionActiveProperty = - TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(PasswordBox)); + public static readonly DependencyProperty IsSelectionActiveProperty = + TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(PasswordBox)); - public bool IsSelectionActive => ActualPasswordBox != null && (bool) ActualPasswordBox.GetValue(IsSelectionActiveProperty); + public bool IsSelectionActive => ActualPasswordBox != null && (bool) ActualPasswordBox.GetValue(IsSelectionActiveProperty); #endif @@ -314,7 +314,7 @@ public class PasswordBox : Control, IDataInput ActualPasswordBox.SetBinding(System.Windows.Controls.PasswordBox.MaxLengthProperty, new Binding(MaxLengthProperty.Name) { Source = this }); ActualPasswordBox.SetBinding(System.Windows.Controls.PasswordBox.SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - ActualPasswordBox.SetBinding(System.Windows.Controls.PasswordBox.SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + ActualPasswordBox.SetBinding(System.Windows.Controls.PasswordBox.SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif ActualPasswordBox.SetBinding(System.Windows.Controls.PasswordBox.SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); ActualPasswordBox.SetBinding(System.Windows.Controls.PasswordBox.CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -390,4 +390,4 @@ public class PasswordBox : Control, IDataInput VerifyData(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/PinBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/PinBox.cs index 7990dce9..b22795ff 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/PinBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/PinBox.cs @@ -292,14 +292,14 @@ public class PinBox : Control #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(PinBox)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(PinBox)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -361,7 +361,7 @@ public class PinBox : Control passwordBox.SetBinding(SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - passwordBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + passwordBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif passwordBox.SetBinding(SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); passwordBox.SetBinding(CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -407,4 +407,4 @@ public class PinBox : Control } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/SearchBar.cs b/src/Shared/HandyControl_Shared/Controls/Input/SearchBar.cs index fa6156f1..cda2231f 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/SearchBar.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/SearchBar.cs @@ -127,4 +127,4 @@ public class SearchBar : TextBox, ICommandSource ? command.CanExecute(CommandParameter, CommandTarget) : Command.CanExecute(CommandParameter); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/TextBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/TextBox.cs index cbaf593f..293435f6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/TextBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/TextBox.cs @@ -12,4 +12,4 @@ public class TextBox : System.Windows.Controls.TextBox SetCurrentValue(TextProperty, string.Empty); })); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/TimePicker.cs b/src/Shared/HandyControl_Shared/Controls/Input/TimePicker.cs index 896278f3..2c144eb6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/TimePicker.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/TimePicker.cs @@ -311,14 +311,14 @@ public class TimePicker : Control, IDataInput #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - public static readonly DependencyProperty SelectionTextBrushProperty = - TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(TimePicker)); + public static readonly DependencyProperty SelectionTextBrushProperty = + TextBoxBase.SelectionTextBrushProperty.AddOwner(typeof(TimePicker)); - public Brush SelectionTextBrush - { - get => (Brush) GetValue(SelectionTextBrushProperty); - set => SetValue(SelectionTextBrushProperty, value); - } + public Brush SelectionTextBrush + { + get => (Brush) GetValue(SelectionTextBrushProperty); + set => SetValue(SelectionTextBrushProperty, value); + } #endif @@ -473,7 +473,7 @@ public class TimePicker : Control, IDataInput _textBox.SetBinding(SelectionBrushProperty, new Binding(SelectionBrushProperty.Name) { Source = this }); #if !(NET40 || NET45 || NET451 || NET452 || NET46 || NET461 || NET462 || NET47 || NET471 || NET472) - _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); + _textBox.SetBinding(SelectionTextBrushProperty, new Binding(SelectionTextBrushProperty.Name) { Source = this }); #endif _textBox.SetBinding(SelectionOpacityProperty, new Binding(SelectionOpacityProperty.Name) { Source = this }); _textBox.SetBinding(CaretBrushProperty, new Binding(CaretBrushProperty.Name) { Source = this }); @@ -574,29 +574,29 @@ public class TimePicker : Control, IDataInput switch (e.Key) { case Key.System: - { - switch (e.SystemKey) { - case Key.Down: + switch (e.SystemKey) { - if ((Keyboard.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) - { - TogglePopup(); - return true; - } + case Key.Down: + { + if ((Keyboard.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) + { + TogglePopup(); + return true; + } - break; + break; + } } + + break; } - break; - } - case Key.Enter: - { - SetSelectedTime(); - return true; - } + { + SetSelectedTime(); + return true; + } } return false; @@ -793,4 +793,4 @@ public class TimePicker : Control, IDataInput } #endregion Private Methods -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Input/WatermarkTextBox.cs b/src/Shared/HandyControl_Shared/Controls/Input/WatermarkTextBox.cs index 2e1b055e..e8e274f6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/WatermarkTextBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/WatermarkTextBox.cs @@ -32,4 +32,4 @@ public class WatermarkTextBox : TextBox } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Loading/LoadingBase.cs b/src/Shared/HandyControl_Shared/Controls/Loading/LoadingBase.cs index 1ae6cc5f..8b35a4fc 100644 --- a/src/Shared/HandyControl_Shared/Controls/Loading/LoadingBase.cs +++ b/src/Shared/HandyControl_Shared/Controls/Loading/LoadingBase.cs @@ -132,4 +132,4 @@ public abstract class LoadingBase : ContentControl ellipse.SetBinding(Shape.StrokeProperty, new Binding(DotBorderBrushProperty.Name) { Source = this }); return ellipse; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Loading/LoadingCircle.cs b/src/Shared/HandyControl_Shared/Controls/Loading/LoadingCircle.cs index 68454025..988bafbe 100644 --- a/src/Shared/HandyControl_Shared/Controls/Loading/LoadingCircle.cs +++ b/src/Shared/HandyControl_Shared/Controls/Loading/LoadingCircle.cs @@ -209,4 +209,4 @@ public class LoadingCircle : LoadingBase return border; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Loading/LoadingLine.cs b/src/Shared/HandyControl_Shared/Controls/Loading/LoadingLine.cs index 20810367..d4822d26 100644 --- a/src/Shared/HandyControl_Shared/Controls/Loading/LoadingLine.cs +++ b/src/Shared/HandyControl_Shared/Controls/Loading/LoadingLine.cs @@ -112,4 +112,4 @@ public class LoadingLine : LoadingBase ellipse.Margin = new Thickness(-(dotInterval + dotDiameter) * index, 0, 0, 0); return ellipse; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/AnimationPath.cs b/src/Shared/HandyControl_Shared/Controls/Other/AnimationPath.cs index 1e083f31..8686615f 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/AnimationPath.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/AnimationPath.cs @@ -167,4 +167,4 @@ public class AnimationPath : Shape } private void Storyboard_Completed(object sender, EventArgs e) => RaiseEvent(new RoutedEventArgs(CompletedEvent)); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Badge.cs b/src/Shared/HandyControl_Shared/Controls/Other/Badge.cs index 45fb1b3e..f34f4628 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Badge.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Badge.cs @@ -97,4 +97,4 @@ public class Badge : ContentControl } protected override Geometry GetLayoutClip(Size layoutSlotSize) => null; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/BlendEffectBox.cs b/src/Shared/HandyControl_Shared/Controls/Other/BlendEffectBox.cs index 94c9c320..dd2497d6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/BlendEffectBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/BlendEffectBox.cs @@ -112,4 +112,4 @@ public class BlendEffectBox : Control get => (FrameworkElement) GetValue(ActualContentProperty); set => SetValue(ActualContentProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Card.cs b/src/Shared/HandyControl_Shared/Controls/Other/Card.cs index 4da0db8f..61e08053 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Card.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Card.cs @@ -83,4 +83,4 @@ public class Card : ContentControl get => (string) GetValue(FooterStringFormatProperty); set => SetValue(FooterStringFormatProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/ChatBubble.cs b/src/Shared/HandyControl_Shared/Controls/Other/ChatBubble.cs index a75994e6..a7a603b5 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/ChatBubble.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/ChatBubble.cs @@ -42,4 +42,4 @@ public class ChatBubble : SelectableItem IsRead = true; ReadAction?.Invoke(Content); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/DashedBorder.cs b/src/Shared/HandyControl_Shared/Controls/Other/DashedBorder.cs index 504d4adc..52649324 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/DashedBorder.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/DashedBorder.cs @@ -666,4 +666,4 @@ public class DashedBorder : Decorator internal readonly double BottomLeft; internal readonly double LeftBottom; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Divider.cs b/src/Shared/HandyControl_Shared/Controls/Other/Divider.cs index d5304fd8..94f4cf99 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Divider.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Divider.cs @@ -78,4 +78,4 @@ public class Divider : Control get => (DoubleCollection) GetValue(LineStrokeDashArrayProperty); set => SetValue(LineStrokeDashArrayProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Empty.cs b/src/Shared/HandyControl_Shared/Controls/Other/Empty.cs index f0e5d9d7..88ba029e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Empty.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Empty.cs @@ -32,4 +32,4 @@ public class Empty : ContentControl public static bool GetShowEmpty(DependencyObject element) => (bool) element.GetValue(ShowEmptyProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/GotoTop.cs b/src/Shared/HandyControl_Shared/Controls/Other/GotoTop.cs index 4d564d12..d49a381f 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/GotoTop.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/GotoTop.cs @@ -96,4 +96,4 @@ public class GotoTop : Button _gotoTopAction?.Invoke(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Gravatar.cs b/src/Shared/HandyControl_Shared/Controls/Other/Gravatar.cs index d361f828..89e8dcaa 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Gravatar.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Gravatar.cs @@ -54,4 +54,4 @@ public class Gravatar : ContentControl get => (ImageSource) GetValue(SourceProperty); set => SetValue(SourceProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Magnifier.cs b/src/Shared/HandyControl_Shared/Controls/Other/Magnifier.cs index 5d51b0cb..d323b01c 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Magnifier.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Magnifier.cs @@ -156,4 +156,4 @@ public class Magnifier : AdornerElement } this.Show(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Notification.cs b/src/Shared/HandyControl_Shared/Controls/Other/Notification.cs index a9d54868..42d11380 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Notification.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Notification.cs @@ -97,31 +97,31 @@ public sealed class Notification : System.Windows.Window case ShowAnimation.None: break; case ShowAnimation.HorizontalMove: - { - var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Width); - animation.Completed += Animation_Completed; - BeginAnimation(LeftProperty, animation); - e.Cancel = true; - _shouldBeClosed = true; - } + { + var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Width); + animation.Completed += Animation_Completed; + BeginAnimation(LeftProperty, animation); + e.Cancel = true; + _shouldBeClosed = true; + } break; case ShowAnimation.VerticalMove: - { - var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Height); - animation.Completed += Animation_Completed; - BeginAnimation(TopProperty, animation); - e.Cancel = true; - _shouldBeClosed = true; - } + { + var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Height); + animation.Completed += Animation_Completed; + BeginAnimation(TopProperty, animation); + e.Cancel = true; + _shouldBeClosed = true; + } break; case ShowAnimation.Fade: - { - var animation = AnimationHelper.CreateAnimation(0); - animation.Completed += Animation_Completed; - BeginAnimation(OpacityProperty, animation); - e.Cancel = true; - _shouldBeClosed = true; - } + { + var animation = AnimationHelper.CreateAnimation(0); + animation.Completed += Animation_Completed; + BeginAnimation(OpacityProperty, animation); + e.Cancel = true; + _shouldBeClosed = true; + } break; } } @@ -150,4 +150,4 @@ public sealed class Notification : System.Windows.Window }; _timerClose.Start(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs b/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs index c9d0e17c..7e66e618 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs @@ -718,4 +718,4 @@ public class NotifyIcon : FrameworkElement, IDisposable _isDisposed = true; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Pagination.cs b/src/Shared/HandyControl_Shared/Controls/Other/Pagination.cs index de94f289..19b47a97 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Pagination.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Pagination.cs @@ -398,4 +398,4 @@ public class Pagination : Control } #endregion Private Methods -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Poptip.cs b/src/Shared/HandyControl_Shared/Controls/Other/Poptip.cs index 62b5925c..344e7a8f 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Poptip.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Poptip.cs @@ -325,4 +325,4 @@ public class Poptip : AdornerElement SwitchPoptip(false); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/ScrollViewer.cs b/src/Shared/HandyControl_Shared/Controls/Other/ScrollViewer.cs index c12aedbf..29676dd3 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/ScrollViewer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/ScrollViewer.cs @@ -208,4 +208,4 @@ public class ScrollViewer : System.Windows.Controls.ScrollViewer get => (double) GetValue(CurrentHorizontalOffsetProperty); set => SetValue(CurrentHorizontalOffsetProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Shield.cs b/src/Shared/HandyControl_Shared/Controls/Other/Shield.cs index ab88ae75..be6deea7 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Shield.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Shield.cs @@ -34,4 +34,4 @@ public class Shield : ButtonBase get => (Brush) GetValue(ColorProperty); set => SetValue(ColorProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Sprite.cs b/src/Shared/HandyControl_Shared/Controls/Other/Sprite.cs index da6380a7..8ca6c798 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Sprite.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Sprite.cs @@ -25,4 +25,4 @@ public sealed class Sprite : System.Windows.Window return sprite; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/TransitioningContentControl.cs b/src/Shared/HandyControl_Shared/Controls/Other/TransitioningContentControl.cs index 6468cad3..cf5129bb 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/TransitioningContentControl.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/TransitioningContentControl.cs @@ -104,4 +104,4 @@ public class TransitioningContentControl : ContentControl StartTransition(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Watermark.cs b/src/Shared/HandyControl_Shared/Controls/Other/Watermark.cs index 67b0dcf0..23ebe00c 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Watermark.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Watermark.cs @@ -161,4 +161,4 @@ public class Watermark : Control } protected override void OnRender(DrawingContext drawingContext) => EnsureBrush(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs b/src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs index 63cbf64e..3501b4fc 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs @@ -60,4 +60,4 @@ public class AxleCanvas : Canvas } return arrangeSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/CirclePanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/CirclePanel.cs index fbc714aa..2d61506b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/CirclePanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/CirclePanel.cs @@ -86,4 +86,4 @@ public class CirclePanel : Panel return finalSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/ElementGroup.cs b/src/Shared/HandyControl_Shared/Controls/Panel/ElementGroup.cs index 20f1232b..4623dd04 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/ElementGroup.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/ElementGroup.cs @@ -149,4 +149,4 @@ public class ElementGroup : ItemsControl Middle, Last } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/FlexPanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/FlexPanel.cs index 09301afd..80082d87 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/FlexPanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/FlexPanel.cs @@ -729,4 +729,4 @@ public class FlexPanel : Panel } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Col.cs b/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Col.cs index 08dbf10d..41abe100 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Col.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Col.cs @@ -92,4 +92,4 @@ public class Col : ContentControl return result; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Row.cs b/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Row.cs index 0f9a3551..aad5de3a 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Row.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/Grid/Row.cs @@ -95,4 +95,4 @@ public class Row : Panel return finalSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/HoneycombPanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/HoneycombPanel.cs index 4a5666c2..a57263f8 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/HoneycombPanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/HoneycombPanel.cs @@ -162,4 +162,4 @@ public class HoneycombPanel : Panel return _childBounds; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/RelativePanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/RelativePanel.cs index d117daa9..2d379b18 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/RelativePanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/RelativePanel.cs @@ -685,4 +685,4 @@ public class RelativePanel : Panel return boundingSize; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/SimplePanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/SimplePanel.cs index 3b58fec1..35c940bf 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/SimplePanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/SimplePanel.cs @@ -38,4 +38,4 @@ public class SimplePanel : Panel return arrangeSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/SimpleStackPanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/SimpleStackPanel.cs index bd69c73e..fb7d704b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/SimpleStackPanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/SimpleStackPanel.cs @@ -97,4 +97,4 @@ public class SimpleStackPanel : Panel return arrangeSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/UniformSpacingPanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/UniformSpacingPanel.cs index c8be6cd1..1bab5b0e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/UniformSpacingPanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/UniformSpacingPanel.cs @@ -381,4 +381,4 @@ public class UniformSpacingPanel : Panel return finalSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Panel/WaterfallPanel.cs b/src/Shared/HandyControl_Shared/Controls/Panel/WaterfallPanel.cs index 854f9837..59022afd 100644 --- a/src/Shared/HandyControl_Shared/Controls/Panel/WaterfallPanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/Panel/WaterfallPanel.cs @@ -145,4 +145,4 @@ public class WaterfallPanel : Panel return uvConstraint.ScreenSize; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/ProgressBar/CircleProgressBar.cs b/src/Shared/HandyControl_Shared/Controls/ProgressBar/CircleProgressBar.cs index caf19139..0d953cc8 100644 --- a/src/Shared/HandyControl_Shared/Controls/ProgressBar/CircleProgressBar.cs +++ b/src/Shared/HandyControl_Shared/Controls/ProgressBar/CircleProgressBar.cs @@ -98,4 +98,4 @@ public class CircleProgressBar : RangeBase base.OnValueChanged(oldValue, newValue); SetProgressBarIndicatorAngle(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/ProgressBar/WaveProgressBar.cs b/src/Shared/HandyControl_Shared/Controls/ProgressBar/WaveProgressBar.cs index 414c73cd..35e125a4 100644 --- a/src/Shared/HandyControl_Shared/Controls/ProgressBar/WaveProgressBar.cs +++ b/src/Shared/HandyControl_Shared/Controls/ProgressBar/WaveProgressBar.cs @@ -118,4 +118,4 @@ public class WaveProgressBar : RangeBase get => (Brush) GetValue(WaveStrokeProperty); set => SetValue(WaveStrokeProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DatePropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DatePropertyEditor.cs index c1bdd279..dac2412e 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DatePropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DatePropertyEditor.cs @@ -10,4 +10,4 @@ public class DatePropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => System.Windows.Controls.DatePicker.SelectedDateProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs index 149b5942..4363ab5c 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs @@ -10,4 +10,4 @@ public class DateTimePropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => DateTimePicker.SelectedDateTimeProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/EnumPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/EnumPropertyEditor.cs index a12cf7a9..070b634b 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/EnumPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/EnumPropertyEditor.cs @@ -13,4 +13,4 @@ public class EnumPropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => Selector.SelectedValueProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/HorizontalAlignmentPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/HorizontalAlignmentPropertyEditor.cs index cc81c327..25f64533 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/HorizontalAlignmentPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/HorizontalAlignmentPropertyEditor.cs @@ -67,4 +67,4 @@ public class HorizontalAlignmentPathTemplateSelector : DataTemplateSelector return null; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ImagePropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ImagePropertyEditor.cs index ca413b23..0bc1f3db 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ImagePropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ImagePropertyEditor.cs @@ -59,4 +59,4 @@ public class ImagePropertyEditor : PropertyEditorBase }); public override DependencyProperty GetDependencyProperty() => SourceProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/NumberPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/NumberPropertyEditor.cs index 78801ef1..19aa39a4 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/NumberPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/NumberPropertyEditor.cs @@ -27,4 +27,4 @@ public class NumberPropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => NumericUpDown.ValueProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs index 69248be0..de962f10 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs @@ -10,4 +10,4 @@ public class PlainTextPropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => System.Windows.Controls.TextBox.TextProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PropertyEditorBase.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PropertyEditorBase.cs index b153e281..4147e8ff 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PropertyEditorBase.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PropertyEditorBase.cs @@ -24,4 +24,4 @@ public abstract class PropertyEditorBase : DependencyObject public virtual UpdateSourceTrigger GetUpdateSourceTrigger(PropertyItem propertyItem) => UpdateSourceTrigger.PropertyChanged; protected virtual IValueConverter GetConverter(PropertyItem propertyItem) => null; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ReadOnlyTextPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ReadOnlyTextPropertyEditor.cs index 9629832a..897e641a 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ReadOnlyTextPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/ReadOnlyTextPropertyEditor.cs @@ -16,4 +16,4 @@ public class ReadOnlyTextPropertyEditor : PropertyEditorBase public override BindingMode GetBindingMode(PropertyItem propertyItem) => BindingMode.OneWay; protected override IValueConverter GetConverter(PropertyItem propertyItem) => ResourceHelper.GetResourceInternal("Object2StringConverter"); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/SwitchPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/SwitchPropertyEditor.cs index 9f5994eb..6d577da8 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/SwitchPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/SwitchPropertyEditor.cs @@ -14,4 +14,4 @@ public class SwitchPropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => ToggleButton.IsCheckedProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/TimePropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/TimePropertyEditor.cs index 205fc658..5050c946 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/TimePropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/TimePropertyEditor.cs @@ -10,4 +10,4 @@ public class TimePropertyEditor : PropertyEditorBase }; public override DependencyProperty GetDependencyProperty() => TimePicker.SelectedTimeProperty; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/VerticalAlignmentPropertyEditor.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/VerticalAlignmentPropertyEditor.cs index 08fdc70a..a49f20bf 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/VerticalAlignmentPropertyEditor.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/VerticalAlignmentPropertyEditor.cs @@ -67,4 +67,4 @@ public class VerticalAlignmentPathTemplateSelector : DataTemplateSelector return null; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs index 6f122703..6ded8504 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs @@ -200,4 +200,4 @@ public class PropertyGrid : Control base.OnRenderSizeChanged(sizeInfo); TitleElement.SetTitleWidth(this, new GridLength(Math.Max(MinTitleWidth, Math.Min(MaxTitleWidth, ActualWidth / 3)))); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItem.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItem.cs index 9352e50d..c4efcfcd 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItem.cs @@ -124,4 +124,4 @@ public class PropertyItem : ListBoxItem EditorElement = Editor.CreateElement(this); Editor.CreateBinding(this, EditorElement); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItemsControl.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItemsControl.cs index e292fbf5..b1501dee 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItemsControl.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyItemsControl.cs @@ -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 } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyResolver.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyResolver.cs index 509974cb..265df293 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyResolver.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyResolver.cs @@ -123,4 +123,4 @@ public class PropertyResolver VerticalAlignment, ImageSource } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Rate/Rate.cs b/src/Shared/HandyControl_Shared/Controls/Rate/Rate.cs index b4ee2e0b..d43f3565 100644 --- a/src/Shared/HandyControl_Shared/Controls/Rate/Rate.cs +++ b/src/Shared/HandyControl_Shared/Controls/Rate/Rate.cs @@ -267,4 +267,4 @@ public class Rate : RegularItemsControl } public void Reset() => Value = DefaultValue; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Rate/RateItem.cs b/src/Shared/HandyControl_Shared/Controls/Rate/RateItem.cs index d6779cb9..002fff7b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Rate/RateItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Rate/RateItem.cs @@ -217,4 +217,4 @@ public class RateItem : Control _isMouseLeftButtonDown = false; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Screenshot/Screenshot.cs b/src/Shared/HandyControl_Shared/Controls/Screenshot/Screenshot.cs index 8945b908..852db370 100644 --- a/src/Shared/HandyControl_Shared/Controls/Screenshot/Screenshot.cs +++ b/src/Shared/HandyControl_Shared/Controls/Screenshot/Screenshot.cs @@ -11,4 +11,4 @@ public class Screenshot public void Start() => new ScreenshotWindow(this).Show(); internal void OnSnapped(ImageSource source) => Snapped?.Invoke(this, new FunctionEventArgs(source)); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Screenshot/ScreenshotWindow.cs b/src/Shared/HandyControl_Shared/Controls/Screenshot/ScreenshotWindow.cs index ab3752e0..fcb6e09a 100644 --- a/src/Shared/HandyControl_Shared/Controls/Screenshot/ScreenshotWindow.cs +++ b/src/Shared/HandyControl_Shared/Controls/Screenshot/ScreenshotWindow.cs @@ -233,24 +233,24 @@ public class ScreenshotWindow : System.Windows.Window switch (e.Key) { case Key.Left: - { - MoveTargetArea(MoveRect(_targetWindowRect, -1, rightFlag: -1)); - } + { + MoveTargetArea(MoveRect(_targetWindowRect, -1, rightFlag: -1)); + } break; case Key.Up: - { - MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: -1, topFlag: -1)); - } + { + MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: -1, topFlag: -1)); + } break; case Key.Right: - { - MoveTargetArea(MoveRect(_targetWindowRect, 1, rightFlag: 1)); - } + { + MoveTargetArea(MoveRect(_targetWindowRect, 1, rightFlag: 1)); + } break; case Key.Down: - { - MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: 1, topFlag: 1)); - } + { + MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: 1, topFlag: 1)); + } break; case Key.Enter: _saveScreenshot = true; @@ -719,4 +719,4 @@ public class ScreenshotWindow : System.Windows.Window _magnifier.Margin = new Thickness(point.X + 4, point.Y + 26, 0, 0); _visualPreview.Viewbox = new Rect(new Point(point.X - _viewboxSize.Width / 2 + 0.5, point.Y - _viewboxSize.Height / 2 + 0.5), _viewboxSize); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenu.cs b/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenu.cs index c302451a..bda1b585 100644 --- a/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenu.cs +++ b/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenu.cs @@ -255,4 +255,4 @@ public class SideMenu : HeaderedSimpleItemsControl add => AddHandler(SelectionChangedEvent, value); remove => RemoveHandler(SelectionChangedEvent, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenuItem.cs b/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenuItem.cs index 3cfb955a..f821057b 100644 --- a/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenuItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenuItem.cs @@ -213,4 +213,4 @@ public class SideMenuItem : HeaderedSimpleItemsControl, ISelectable, ICommandSou ? command.CanExecute(CommandParameter, CommandTarget) : Command.CanExecute(CommandParameter); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareSlider.cs b/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareSlider.cs index cf716c55..ced5334f 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareSlider.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareSlider.cs @@ -22,4 +22,4 @@ public class CompareSlider : Slider get => GetValue(SourceContentProperty); set => SetValue(SourceContentProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareTrack.cs b/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareTrack.cs index 59d61e33..421f9ee2 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareTrack.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/CompareSlider/CompareTrack.cs @@ -113,4 +113,4 @@ public class CompareTrack : Track else if (componentLength > trackLength || double.IsNaN(componentLength)) componentLength = trackLength; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/PreviewSlider.cs b/src/Shared/HandyControl_Shared/Controls/Slider/PreviewSlider.cs index fbbd0526..6eaa6b17 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/PreviewSlider.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/PreviewSlider.cs @@ -200,4 +200,4 @@ public class PreviewSlider : Slider _previewContent.RenderTransform = _transform; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeSlider.cs b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeSlider.cs index 75dc825d..2824981e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeSlider.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeSlider.cs @@ -642,4 +642,4 @@ public class RangeSlider : TwoWayRangeBase _thumbCurrent = null; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeThumb.cs b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeThumb.cs index 8da6ee39..0f76dfa6 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeThumb.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeThumb.cs @@ -42,4 +42,4 @@ public class RangeThumb : Thumb RoutedEvent = PreviewMouseLeftButtonUpEvent }); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeTrack.cs b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeTrack.cs index bda84b87..2b951b4e 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeTrack.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/RangeTrack.cs @@ -455,4 +455,4 @@ public class RangeTrack : FrameworkElement InvalidateArrange(); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/TwoWayRangeBase.cs b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/TwoWayRangeBase.cs index 95fcb9f6..beca31ca 100644 --- a/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/TwoWayRangeBase.cs +++ b/src/Shared/HandyControl_Shared/Controls/Slider/RangeSlider/TwoWayRangeBase.cs @@ -170,4 +170,4 @@ public class TwoWayRangeBase : Control add => AddHandler(ValueChangedEvent, value); remove => RemoveHandler(ValueChangedEvent, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/StepBar/StepBar.cs b/src/Shared/HandyControl_Shared/Controls/StepBar/StepBar.cs index 520d91dd..9ab49db9 100644 --- a/src/Shared/HandyControl_Shared/Controls/StepBar/StepBar.cs +++ b/src/Shared/HandyControl_Shared/Controls/StepBar/StepBar.cs @@ -180,4 +180,4 @@ public class StepBar : ItemsControl public void Next() => StepIndex++; public void Prev() => StepIndex--; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/StepBar/StepBarItem.cs b/src/Shared/HandyControl_Shared/Controls/StepBar/StepBarItem.cs index 740dcddb..9b708a6b 100644 --- a/src/Shared/HandyControl_Shared/Controls/StepBar/StepBarItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/StepBar/StepBarItem.cs @@ -38,4 +38,4 @@ public class StepBarItem : ContentControl get => (StepStatus) GetValue(StatusProperty); internal set => SetValue(StatusProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/TabControl/TabControl.cs b/src/Shared/HandyControl_Shared/Controls/TabControl/TabControl.cs index 0d7b2031..b2f02a71 100644 --- a/src/Shared/HandyControl_Shared/Controls/TabControl/TabControl.cs +++ b/src/Shared/HandyControl_Shared/Controls/TabControl/TabControl.cs @@ -425,4 +425,4 @@ public class TabControl : System.Windows.Controls.TabControl protected override bool IsItemItsOwnContainerOverride(object item) => item is TabItem; protected override DependencyObject GetContainerForItemOverride() => new TabItem(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs b/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs index c336417e..b045b7dc 100644 --- a/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs @@ -487,4 +487,4 @@ public class TabItem : System.Windows.Controls.TabItem add => AddHandler(ClosedEvent, value); remove => RemoveHandler(ClosedEvent, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/TabControl/TabPanel.cs b/src/Shared/HandyControl_Shared/Controls/TabControl/TabPanel.cs index 86dab975..a3d5b1ed 100644 --- a/src/Shared/HandyControl_Shared/Controls/TabControl/TabPanel.cs +++ b/src/Shared/HandyControl_Shared/Controls/TabControl/TabPanel.cs @@ -175,4 +175,4 @@ public class TabPanel : Panel _isLoaded = true; }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Tag/Tag.cs b/src/Shared/HandyControl_Shared/Controls/Tag/Tag.cs index e8e328c9..4d6f31d1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Tag/Tag.cs +++ b/src/Shared/HandyControl_Shared/Controls/Tag/Tag.cs @@ -144,4 +144,4 @@ public class Tag : ContentControl IsSelected = true; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Tag/TagContainer.cs b/src/Shared/HandyControl_Shared/Controls/Tag/TagContainer.cs index 29e52e1d..39354ce3 100644 --- a/src/Shared/HandyControl_Shared/Controls/Tag/TagContainer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Tag/TagContainer.cs @@ -49,4 +49,4 @@ public class TagContainer : ItemsControl protected override DependencyObject GetContainerForItemOverride() => new Tag(); protected override bool IsItemItsOwnContainerOverride(object item) => item is Tag; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Text/HighlightTextBlock.cs b/src/Shared/HandyControl_Shared/Controls/Text/HighlightTextBlock.cs index fa85bd10..7537263c 100644 --- a/src/Shared/HandyControl_Shared/Controls/Text/HighlightTextBlock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Text/HighlightTextBlock.cs @@ -86,8 +86,8 @@ public class HighlightTextBlock : TextBlock var sourceText = SourceText; var queries = QueriesText.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); var intervals = from query in queries.Distinct() - from interval in GetQueryIntervals(sourceText, query) - select interval; + from interval in GetQueryIntervals(sourceText, query) + select interval; var mergedIntervals = MergeIntervals(intervals.ToList()); var fragments = SplitTextByOrderedDisjointIntervals(sourceText, mergedIntervals); @@ -97,9 +97,9 @@ public class HighlightTextBlock : TextBlock private IEnumerable GenerateRunElement(IEnumerable fragments) { return from item in fragments - select item.IsQuery - ? GetHighlightRun(item.Text) - : new Run(item.Text); + select item.IsQuery + ? GetHighlightRun(item.Text) + : new Run(item.Text); } private Run GetHighlightRun(string highlightText) @@ -206,4 +206,4 @@ public class HighlightTextBlock : TextBlock public int End { get; set; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Text/OutlineText.cs b/src/Shared/HandyControl_Shared/Controls/Text/OutlineText.cs index 43818a45..8a51ad0f 100644 --- a/src/Shared/HandyControl_Shared/Controls/Text/OutlineText.cs +++ b/src/Shared/HandyControl_Shared/Controls/Text/OutlineText.cs @@ -278,4 +278,4 @@ public class OutlineText : FrameworkElement // return the desired size return new Size(_formattedText.Width, _formattedText.Height); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Text/SimpleText.cs b/src/Shared/HandyControl_Shared/Controls/Text/SimpleText.cs index 421e0a4a..df94a03b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Text/SimpleText.cs +++ b/src/Shared/HandyControl_Shared/Controls/Text/SimpleText.cs @@ -181,4 +181,4 @@ public class SimpleText : FrameworkElement return new Size(_formattedText.Width, _formattedText.Height); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/CalendarWithClock.cs b/src/Shared/HandyControl_Shared/Controls/Time/CalendarWithClock.cs index 21bbc85f..98f54044 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/CalendarWithClock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/CalendarWithClock.cs @@ -253,4 +253,4 @@ public class CalendarWithClock : Control } #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/Clock/Clock.cs b/src/Shared/HandyControl_Shared/Controls/Time/Clock/Clock.cs index 4f19b290..7b1c9919 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/Clock/Clock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/Clock/Clock.cs @@ -330,4 +330,4 @@ public class Clock : ClockBase private void ButtonPm_OnClick(object sender, RoutedEventArgs e) => Update(); #endregion Private Methods -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockBase.cs b/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockBase.cs index cf869e44..988f540c 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockBase.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockBase.cs @@ -102,4 +102,4 @@ public abstract class ClockBase : Control internal abstract void Update(DateTime time); protected void Clock_SelectedTimeChanged(object sender, FunctionEventArgs e) => SelectedTime = e.Info; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockRadioButton.cs b/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockRadioButton.cs index 170e9998..0ded5db7 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockRadioButton.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/Clock/ClockRadioButton.cs @@ -6,4 +6,4 @@ namespace HandyControl.Controls; public class ClockRadioButton : RadioButton { public int Num { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/Clock/ListClock.cs b/src/Shared/HandyControl_Shared/Controls/Time/Clock/ListClock.cs index 545e4b61..c08a8deb 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/Clock/ListClock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/Clock/ListClock.cs @@ -146,4 +146,4 @@ public class ListClock : ClockBase DisplayTime = time; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipClock.cs b/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipClock.cs index a1598fcc..cee951a2 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipClock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipClock.cs @@ -84,4 +84,4 @@ public class FlipClock : Control } private void DispatcherTimer_Tick(object sender, EventArgs e) => DisplayTime = DateTime.Now; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipNumber.cs b/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipNumber.cs index 641b8ac8..2f7a1d96 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipNumber.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/FlipClock/FlipNumber.cs @@ -280,4 +280,4 @@ public class FlipNumber : Viewport3D return child; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/SpeTextBlock.cs b/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/SpeTextBlock.cs index ee9b8471..600fe3da 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/SpeTextBlock.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/SpeTextBlock.cs @@ -47,4 +47,4 @@ internal class SpeTextBlock : TextBlock /// /// public void MoveX(double offsetX) => Canvas.SetLeft(this, X + offsetX); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/TimeBar.cs b/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/TimeBar.cs index b08929bb..23a9d1f1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/TimeBar.cs +++ b/src/Shared/HandyControl_Shared/Controls/Time/TimeBar/TimeBar.cs @@ -588,4 +588,4 @@ public class TimeBar : Control }; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Transfer/Transfer.cs b/src/Shared/HandyControl_Shared/Controls/Transfer/Transfer.cs index ab2ce568..2241e739 100644 --- a/src/Shared/HandyControl_Shared/Controls/Transfer/Transfer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Transfer/Transfer.cs @@ -285,4 +285,4 @@ public class Transfer : SimpleItemsControl } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Transfer/TransferGroup.cs b/src/Shared/HandyControl_Shared/Controls/Transfer/TransferGroup.cs index 569621de..c227e555 100644 --- a/src/Shared/HandyControl_Shared/Controls/Transfer/TransferGroup.cs +++ b/src/Shared/HandyControl_Shared/Controls/Transfer/TransferGroup.cs @@ -61,4 +61,4 @@ public class TransferGroup : SimpleItemsControl break; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Transfer/TransferItem.cs b/src/Shared/HandyControl_Shared/Controls/Transfer/TransferItem.cs index 1fd01ca5..d76ac608 100644 --- a/src/Shared/HandyControl_Shared/Controls/Transfer/TransferItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/Transfer/TransferItem.cs @@ -22,4 +22,4 @@ public class TransferItem : SelectableItem get => (bool) GetValue(IsOriginProperty); internal set => SetValue(IsOriginProperty, ValueBoxes.BooleanBox(value)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Window/BlurWindow.cs b/src/Shared/HandyControl_Shared/Controls/Window/BlurWindow.cs index d8948eef..97086556 100644 --- a/src/Shared/HandyControl_Shared/Controls/Window/BlurWindow.cs +++ b/src/Shared/HandyControl_Shared/Controls/Window/BlurWindow.cs @@ -86,4 +86,4 @@ public class BlurWindow : Window Marshal.FreeHGlobal(accentPtr); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Window/GlowWindow.cs b/src/Shared/HandyControl_Shared/Controls/Window/GlowWindow.cs index eba8f68a..72eefe15 100644 --- a/src/Shared/HandyControl_Shared/Controls/Window/GlowWindow.cs +++ b/src/Shared/HandyControl_Shared/Controls/Window/GlowWindow.cs @@ -462,4 +462,4 @@ public class GlowWindow : Window #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Window/ImageBrowser.cs b/src/Shared/HandyControl_Shared/Controls/Window/ImageBrowser.cs index ea4055f8..ba697435 100644 --- a/src/Shared/HandyControl_Shared/Controls/Window/ImageBrowser.cs +++ b/src/Shared/HandyControl_Shared/Controls/Window/ImageBrowser.cs @@ -126,4 +126,4 @@ public class ImageBrowser : Window DragMove(); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs b/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs index 780b9e27..a0cdaac1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs @@ -650,4 +650,4 @@ public sealed class MessageBox : Window || value == MessageBoxResult.OK || value == MessageBoxResult.Yes; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Controls/Window/PopupWindow.cs b/src/Shared/HandyControl_Shared/Controls/Window/PopupWindow.cs index feefd561..3416d7b0 100644 --- a/src/Shared/HandyControl_Shared/Controls/Window/PopupWindow.cs +++ b/src/Shared/HandyControl_Shared/Controls/Window/PopupWindow.cs @@ -231,4 +231,4 @@ public class PopupWindow : System.Windows.Window base.OnClosed(e); PopupElement = null; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Args/CancelRoutedEventArgs.cs b/src/Shared/HandyControl_Shared/Data/Args/CancelRoutedEventArgs.cs index 2fa3d025..24311709 100644 --- a/src/Shared/HandyControl_Shared/Data/Args/CancelRoutedEventArgs.cs +++ b/src/Shared/HandyControl_Shared/Data/Args/CancelRoutedEventArgs.cs @@ -9,4 +9,4 @@ public class CancelRoutedEventArgs : RoutedEventArgs } public bool Cancel { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Args/FunctionEventArgs`1.cs b/src/Shared/HandyControl_Shared/Data/Args/FunctionEventArgs`1.cs index 279d0d4d..31d2c3a8 100644 --- a/src/Shared/HandyControl_Shared/Data/Args/FunctionEventArgs`1.cs +++ b/src/Shared/HandyControl_Shared/Data/Args/FunctionEventArgs`1.cs @@ -15,4 +15,4 @@ public class FunctionEventArgs : RoutedEventArgs } public T Info { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Args/KeyboardHookEventArgs.cs b/src/Shared/HandyControl_Shared/Data/Args/KeyboardHookEventArgs.cs index 1d591109..edbbdb21 100644 --- a/src/Shared/HandyControl_Shared/Data/Args/KeyboardHookEventArgs.cs +++ b/src/Shared/HandyControl_Shared/Data/Args/KeyboardHookEventArgs.cs @@ -14,4 +14,4 @@ public class KeyboardHookEventArgs : EventArgs IsSystemKey = isSystemKey; Key = KeyInterop.KeyFromVirtualKey(virtualKey); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Args/MouseHookEventArgs.cs b/src/Shared/HandyControl_Shared/Data/Args/MouseHookEventArgs.cs index 4887d481..bc49d13a 100644 --- a/src/Shared/HandyControl_Shared/Data/Args/MouseHookEventArgs.cs +++ b/src/Shared/HandyControl_Shared/Data/Args/MouseHookEventArgs.cs @@ -8,4 +8,4 @@ internal class MouseHookEventArgs : EventArgs public MouseHookMessageType MessageType { get; set; } public InteropValues.POINT Point { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/DisposableObject.cs b/src/Shared/HandyControl_Shared/Data/DisposableObject.cs index d89aaee1..f2ea2df5 100644 --- a/src/Shared/HandyControl_Shared/Data/DisposableObject.cs +++ b/src/Shared/HandyControl_Shared/Data/DisposableObject.cs @@ -65,4 +65,4 @@ public class DisposableObject : IDisposable protected virtual void DisposeNativeResources() { } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/BadgeStatus.cs b/src/Shared/HandyControl_Shared/Data/Enum/BadgeStatus.cs index 91b36fa5..417a4116 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/BadgeStatus.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/BadgeStatus.cs @@ -5,4 +5,4 @@ public enum BadgeStatus Text, Dot, Processing -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ChatMessageType.cs b/src/Shared/HandyControl_Shared/Data/Enum/ChatMessageType.cs index 5090808b..0dabc102 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ChatMessageType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ChatMessageType.cs @@ -6,4 +6,4 @@ public enum ChatMessageType Image, Audio, Custom -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ChatRoleType.cs b/src/Shared/HandyControl_Shared/Data/Enum/ChatRoleType.cs index 72f05148..5ca4a26d 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ChatRoleType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ChatRoleType.cs @@ -4,4 +4,4 @@ public enum ChatRoleType { Sender, Receiver -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ColLayoutStatus.cs b/src/Shared/HandyControl_Shared/Data/Enum/ColLayoutStatus.cs index 600c7fbe..ca770d1e 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ColLayoutStatus.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ColLayoutStatus.cs @@ -9,4 +9,4 @@ public enum ColLayoutStatus Xl, Xxl, Auto -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/DrawerShowMode.cs b/src/Shared/HandyControl_Shared/Data/Enum/DrawerShowMode.cs index edd0d8a6..2e2964cc 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/DrawerShowMode.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/DrawerShowMode.cs @@ -5,4 +5,4 @@ public enum DrawerShowMode Cover, Push, Press -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/EnumDataProvider.cs b/src/Shared/HandyControl_Shared/Data/Enum/EnumDataProvider.cs index a07f287d..6e55b237 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/EnumDataProvider.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/EnumDataProvider.cs @@ -74,4 +74,4 @@ public class EnumDataProvider : ObjectDataProvider return resultList; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ExpandMode.cs b/src/Shared/HandyControl_Shared/Data/Enum/ExpandMode.cs index e9b11023..c7831162 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ExpandMode.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ExpandMode.cs @@ -21,4 +21,4 @@ public enum ExpandMode /// 没有任何限制 /// Freedom -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/HatchStyle.cs b/src/Shared/HandyControl_Shared/Data/Enum/HatchStyle.cs index 454ed25c..599fb307 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/HatchStyle.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/HatchStyle.cs @@ -55,4 +55,4 @@ public enum HatchStyle LargeCheckerBoard, OutlinedDiamond, SolidDiamond -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/HitMode.cs b/src/Shared/HandyControl_Shared/Data/Enum/HitMode.cs index 1bf1f2ea..1165264e 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/HitMode.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/HitMode.cs @@ -6,4 +6,4 @@ public enum HitMode Hover, Focus, None -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ImageCodecFlags.cs b/src/Shared/HandyControl_Shared/Data/Enum/ImageCodecFlags.cs index 5d27e636..c608ecbc 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ImageCodecFlags.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ImageCodecFlags.cs @@ -14,4 +14,4 @@ internal enum ImageCodecFlags Builtin = 0x00010000, System = 0x00020000, User = 0x00040000 -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/InfoType.cs b/src/Shared/HandyControl_Shared/Data/Enum/InfoType.cs index e5380cdb..d046eebf 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/InfoType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/InfoType.cs @@ -9,4 +9,4 @@ public enum InfoType Error, Fatal, Ask -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/IpType.cs b/src/Shared/HandyControl_Shared/Data/Enum/IpType.cs index 7fd8d7d4..267f5f29 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/IpType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/IpType.cs @@ -26,4 +26,4 @@ public enum IpType /// E类IP地址 /// E -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/LinearLayout.cs b/src/Shared/HandyControl_Shared/Data/Enum/LinearLayout.cs index 2193f66a..cd970c30 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/LinearLayout.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/LinearLayout.cs @@ -5,4 +5,4 @@ public enum LinearLayout Stack, Uniform -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/MouseHookMessageType.cs b/src/Shared/HandyControl_Shared/Data/Enum/MouseHookMessageType.cs index 453a24c7..065630fb 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/MouseHookMessageType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/MouseHookMessageType.cs @@ -8,4 +8,4 @@ public enum MouseHookMessageType MouseWheel = 0x020A, RightButtonDown = 0x0204, RightButtonUp = 0x0205 -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/NotifyIconInfoType.cs b/src/Shared/HandyControl_Shared/Data/Enum/NotifyIconInfoType.cs index 9ce26a3a..c9f9e0e9 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/NotifyIconInfoType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/NotifyIconInfoType.cs @@ -21,4 +21,4 @@ public enum NotifyIconInfoType /// A Error Icon. /// Error -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/PlacementType.cs b/src/Shared/HandyControl_Shared/Data/Enum/PlacementType.cs index a739b61e..63109b6f 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/PlacementType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/PlacementType.cs @@ -62,4 +62,4 @@ public enum PlacementType /// 下右 /// BottomRight, -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ResultType.cs b/src/Shared/HandyControl_Shared/Data/Enum/ResultType.cs index 38f39194..4ee70216 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ResultType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ResultType.cs @@ -20,4 +20,4 @@ public enum ResultType /// 无数据 /// None -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/ShowAnimation.cs b/src/Shared/HandyControl_Shared/Data/Enum/ShowAnimation.cs index 4238ed12..caa8fed8 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/ShowAnimation.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/ShowAnimation.cs @@ -6,4 +6,4 @@ public enum ShowAnimation HorizontalMove, VerticalMove, Fade -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/SideMenuItemRole.cs b/src/Shared/HandyControl_Shared/Data/Enum/SideMenuItemRole.cs index 870b356b..4c48c2e9 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/SideMenuItemRole.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/SideMenuItemRole.cs @@ -4,4 +4,4 @@ public enum SideMenuItemRole { Header, Item -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/SkinType.cs b/src/Shared/HandyControl_Shared/Data/Enum/SkinType.cs index 4c37d8c5..79e64d3b 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/SkinType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/SkinType.cs @@ -6,4 +6,4 @@ public enum SkinType Default, Dark, Violet -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/StepStatus.cs b/src/Shared/HandyControl_Shared/Data/Enum/StepStatus.cs index e979cdf6..59178edd 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/StepStatus.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/StepStatus.cs @@ -19,4 +19,4 @@ public enum StepStatus /// 等待中 /// Waiting -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/StrokePosition.cs b/src/Shared/HandyControl_Shared/Data/Enum/StrokePosition.cs index 7be77f34..35a13407 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/StrokePosition.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/StrokePosition.cs @@ -5,4 +5,4 @@ public enum StrokePosition Center, Outside, Inside -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/TextType.cs b/src/Shared/HandyControl_Shared/Data/Enum/TextType.cs index 61132b77..594cc35d 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/TextType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/TextType.cs @@ -23,4 +23,4 @@ public enum TextType Double, NnDouble, NpDouble -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/TitlePlacementType.cs b/src/Shared/HandyControl_Shared/Data/Enum/TitlePlacementType.cs index 6386f83f..ab511d96 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/TitlePlacementType.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/TitlePlacementType.cs @@ -8,4 +8,4 @@ public enum TitlePlacementType { Left, Top -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/TransitionMode.cs b/src/Shared/HandyControl_Shared/Data/Enum/TransitionMode.cs index 0d96a718..3e8c5925 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/TransitionMode.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/TransitionMode.cs @@ -12,4 +12,4 @@ public enum TransitionMode Top2BottomWithFade, Fade, Custom -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Enum/VisualWrapping.cs b/src/Shared/HandyControl_Shared/Data/Enum/VisualWrapping.cs index 702ef2ae..d744c97c 100644 --- a/src/Shared/HandyControl_Shared/Data/Enum/VisualWrapping.cs +++ b/src/Shared/HandyControl_Shared/Data/Enum/VisualWrapping.cs @@ -4,4 +4,4 @@ public enum VisualWrapping { NoWrap, Wrap -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/EnumItem.cs b/src/Shared/HandyControl_Shared/Data/EnumItem.cs index d0f340cf..38ac4b63 100644 --- a/src/Shared/HandyControl_Shared/Data/EnumItem.cs +++ b/src/Shared/HandyControl_Shared/Data/EnumItem.cs @@ -5,4 +5,4 @@ public class EnumItem public string Description { get; set; } public System.Enum Value { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Flex/FlexContentAlignment.cs b/src/Shared/HandyControl_Shared/Data/Flex/FlexContentAlignment.cs index 3e40977a..9e5722b9 100644 --- a/src/Shared/HandyControl_Shared/Data/Flex/FlexContentAlignment.cs +++ b/src/Shared/HandyControl_Shared/Data/Flex/FlexContentAlignment.cs @@ -8,4 +8,4 @@ public enum FlexContentAlignment Center, SpaceBetween, SpaceAround -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Flex/FlexContentJustify.cs b/src/Shared/HandyControl_Shared/Data/Flex/FlexContentJustify.cs index 67ac711d..397cbaa7 100644 --- a/src/Shared/HandyControl_Shared/Data/Flex/FlexContentJustify.cs +++ b/src/Shared/HandyControl_Shared/Data/Flex/FlexContentJustify.cs @@ -7,4 +7,4 @@ public enum FlexContentJustify Center, SpaceBetween, SpaceAround -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Flex/FlexDirection.cs b/src/Shared/HandyControl_Shared/Data/Flex/FlexDirection.cs index 8af6afa8..45feebe6 100644 --- a/src/Shared/HandyControl_Shared/Data/Flex/FlexDirection.cs +++ b/src/Shared/HandyControl_Shared/Data/Flex/FlexDirection.cs @@ -6,4 +6,4 @@ public enum FlexDirection RowReverse, Column, ColumnReverse -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Flex/FlexItemAlignment.cs b/src/Shared/HandyControl_Shared/Data/Flex/FlexItemAlignment.cs index 99c332a6..72144850 100644 --- a/src/Shared/HandyControl_Shared/Data/Flex/FlexItemAlignment.cs +++ b/src/Shared/HandyControl_Shared/Data/Flex/FlexItemAlignment.cs @@ -8,4 +8,4 @@ public enum FlexItemAlignment Center, Baseline, Stretch -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Flex/FlexItemsAlignment.cs b/src/Shared/HandyControl_Shared/Data/Flex/FlexItemsAlignment.cs index ffe13439..fdccfbe0 100644 --- a/src/Shared/HandyControl_Shared/Data/Flex/FlexItemsAlignment.cs +++ b/src/Shared/HandyControl_Shared/Data/Flex/FlexItemsAlignment.cs @@ -7,4 +7,4 @@ public enum FlexItemsAlignment FlexEnd, Center, Baseline -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Flex/FlexWrap.cs b/src/Shared/HandyControl_Shared/Data/Flex/FlexWrap.cs index 650c93f8..f73fd07c 100644 --- a/src/Shared/HandyControl_Shared/Data/Flex/FlexWrap.cs +++ b/src/Shared/HandyControl_Shared/Data/Flex/FlexWrap.cs @@ -5,4 +5,4 @@ public enum FlexWrap NoWrap, Wrap, WrapReverse -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Gif/GPStream.cs b/src/Shared/HandyControl_Shared/Data/Gif/GPStream.cs index 324b8577..d4f90a3b 100644 --- a/src/Shared/HandyControl_Shared/Data/Gif/GPStream.cs +++ b/src/Shared/HandyControl_Shared/Data/Gif/GPStream.cs @@ -267,4 +267,4 @@ internal class GPStream : InteropValues.IStream [MarshalAs(UnmanagedType.I4)] public int reserved; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Gif/GifFrameDimension.cs b/src/Shared/HandyControl_Shared/Data/Gif/GifFrameDimension.cs index 91daf735..5291e8a8 100644 --- a/src/Shared/HandyControl_Shared/Data/Gif/GifFrameDimension.cs +++ b/src/Shared/HandyControl_Shared/Data/Gif/GifFrameDimension.cs @@ -25,4 +25,4 @@ internal class GifFrameDimension if (Equals(this, Page)) return "Page"; return "[FrameDimension: " + Guid + "]"; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Gif/GifImageInfo.cs b/src/Shared/HandyControl_Shared/Data/Gif/GifImageInfo.cs index 5aa0fda6..07749f46 100644 --- a/src/Shared/HandyControl_Shared/Data/Gif/GifImageInfo.cs +++ b/src/Shared/HandyControl_Shared/Data/Gif/GifImageInfo.cs @@ -92,4 +92,4 @@ public class GifImageInfo } protected void OnFrameChanged(EventArgs e) => FrameChangedHandler?.Invoke(Image, e); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItem.cs b/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItem.cs index 1ef4dcc0..50bf7a11 100644 --- a/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItem.cs +++ b/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItem.cs @@ -9,4 +9,4 @@ public class GifPropertyItem public short Type { get; set; } public byte[] Value { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItemInternal.cs b/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItemInternal.cs index 020ae038..71a95c03 100644 --- a/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItemInternal.cs +++ b/src/Shared/HandyControl_Shared/Data/Gif/GifPropertyItemInternal.cs @@ -110,4 +110,4 @@ public class GifPropertyItemInternal : IDisposable return props; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/GlowWindow/ChangeScope.cs b/src/Shared/HandyControl_Shared/Data/GlowWindow/ChangeScope.cs index 8efe87f3..5948247c 100644 --- a/src/Shared/HandyControl_Shared/Data/GlowWindow/ChangeScope.cs +++ b/src/Shared/HandyControl_Shared/Data/GlowWindow/ChangeScope.cs @@ -17,4 +17,4 @@ internal class ChangeScope : DisposableObject _window.DeferGlowChangesCount--; if (_window.DeferGlowChangesCount == 0) _window.EndDeferGlowChanges(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmap.cs b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmap.cs index cdeef002..a6874a83 100644 --- a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmap.cs +++ b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmap.cs @@ -110,4 +110,4 @@ internal class GlowBitmap : DisposableObject DIBits = diBits; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmapPart.cs b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmapPart.cs index cd838b1d..b5b1ae98 100644 --- a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmapPart.cs +++ b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowBitmapPart.cs @@ -18,4 +18,4 @@ internal enum GlowBitmapPart RightTop, Right, RightBottom -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowDrawingContext.cs b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowDrawingContext.cs index aa770a87..8c7fca6f 100644 --- a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowDrawingContext.cs +++ b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowDrawingContext.cs @@ -47,4 +47,4 @@ internal class GlowDrawingContext : DisposableObject if (WindowDC != IntPtr.Zero) InteropMethods.DeleteDC(WindowDC); if (BackgroundDC != IntPtr.Zero) InteropMethods.DeleteDC(BackgroundDC); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowEdge.cs b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowEdge.cs index c9a04e7d..89b8a83a 100644 --- a/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowEdge.cs +++ b/src/Shared/HandyControl_Shared/Data/GlowWindow/GlowEdge.cs @@ -203,12 +203,12 @@ internal class GlowEdge : HwndWrapper case 169: case 171: case 173: - { - var targetWindowHandle = TargetWindowHandle; - InteropMethods.SendMessage(targetWindowHandle, 6, new IntPtr(2), IntPtr.Zero); - InteropMethods.SendMessage(targetWindowHandle, msg, wParam, IntPtr.Zero); - return IntPtr.Zero; - } + { + var targetWindowHandle = TargetWindowHandle; + InteropMethods.SendMessage(targetWindowHandle, 6, new IntPtr(2), IntPtr.Zero); + InteropMethods.SendMessage(targetWindowHandle, msg, wParam, IntPtr.Zero); + return IntPtr.Zero; + } } } else @@ -583,4 +583,4 @@ internal class GlowEdge : HwndWrapper Render = 16, Visibility = 32 } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/HandyControlConfig.cs b/src/Shared/HandyControl_Shared/Data/HandyControlConfig.cs index ca6fd743..43c9d956 100644 --- a/src/Shared/HandyControl_Shared/Data/HandyControlConfig.cs +++ b/src/Shared/HandyControl_Shared/Data/HandyControlConfig.cs @@ -5,4 +5,4 @@ public class HandyControlConfig public string Lang { get; set; } public int TimelineFrameRate { get; set; } = 60; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/HwndWrapper.cs b/src/Shared/HandyControl_Shared/Data/HwndWrapper.cs index 239bb221..b2561fb2 100644 --- a/src/Shared/HandyControl_Shared/Data/HwndWrapper.cs +++ b/src/Shared/HandyControl_Shared/Data/HwndWrapper.cs @@ -98,4 +98,4 @@ public abstract class HwndWrapper : DisposableObject DestroyWindowCore(); DestroyWindowClassCore(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Info/GrowlInfo.cs b/src/Shared/HandyControl_Shared/Data/Info/GrowlInfo.cs index 1c5e1cc3..78a113f5 100644 --- a/src/Shared/HandyControl_Shared/Data/Info/GrowlInfo.cs +++ b/src/Shared/HandyControl_Shared/Data/Info/GrowlInfo.cs @@ -37,4 +37,4 @@ public class GrowlInfo public string Token { get; set; } public FlowDirection FlowDirection { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Info/ImageCodecInfo.cs b/src/Shared/HandyControl_Shared/Data/Info/ImageCodecInfo.cs index 9263a5c2..ba5aa9bc 100644 --- a/src/Shared/HandyControl_Shared/Data/Info/ImageCodecInfo.cs +++ b/src/Shared/HandyControl_Shared/Data/Info/ImageCodecInfo.cs @@ -154,4 +154,4 @@ internal sealed class ImageCodecInfo return codecs; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Info/MessageBoxInfo.cs b/src/Shared/HandyControl_Shared/Data/Info/MessageBoxInfo.cs index 66fb57de..d33f4b9b 100644 --- a/src/Shared/HandyControl_Shared/Data/Info/MessageBoxInfo.cs +++ b/src/Shared/HandyControl_Shared/Data/Info/MessageBoxInfo.cs @@ -24,4 +24,4 @@ public class MessageBoxInfo public Style Style { get; set; } public string StyleKey { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Info/SystemVersionInfo.cs b/src/Shared/HandyControl_Shared/Data/Info/SystemVersionInfo.cs index 1af033f6..b6c4e165 100644 --- a/src/Shared/HandyControl_Shared/Data/Info/SystemVersionInfo.cs +++ b/src/Shared/HandyControl_Shared/Data/Info/SystemVersionInfo.cs @@ -75,4 +75,4 @@ public readonly struct SystemVersionInfo public static bool operator >=(SystemVersionInfo left, SystemVersionInfo right) => left.CompareTo(right) >= 0; public override string ToString() => $"{Major}.{Minor}.{Build}"; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Operation/OperationResult.cs b/src/Shared/HandyControl_Shared/Data/Operation/OperationResult.cs index a196584c..858f2e15 100644 --- a/src/Shared/HandyControl_Shared/Data/Operation/OperationResult.cs +++ b/src/Shared/HandyControl_Shared/Data/Operation/OperationResult.cs @@ -21,4 +21,4 @@ public class OperationResult Data = true }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Operation/OperationResult`1.cs b/src/Shared/HandyControl_Shared/Data/Operation/OperationResult`1.cs index f6cad51d..804a5b8c 100644 --- a/src/Shared/HandyControl_Shared/Data/Operation/OperationResult`1.cs +++ b/src/Shared/HandyControl_Shared/Data/Operation/OperationResult`1.cs @@ -19,4 +19,4 @@ public class OperationResult : OperationResult /// 操作消息(包含错误原因等数据) /// public string Message { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/PanelUvSize.cs b/src/Shared/HandyControl_Shared/Data/PanelUvSize.cs index c1df851d..1a03af0a 100644 --- a/src/Shared/HandyControl_Shared/Data/PanelUvSize.cs +++ b/src/Shared/HandyControl_Shared/Data/PanelUvSize.cs @@ -66,4 +66,4 @@ internal struct PanelUvSize U = V = 0d; _orientation = orientation; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Range/ColorRange.cs b/src/Shared/HandyControl_Shared/Data/Range/ColorRange.cs index d89584c5..a2762481 100644 --- a/src/Shared/HandyControl_Shared/Data/Range/ColorRange.cs +++ b/src/Shared/HandyControl_Shared/Data/Range/ColorRange.cs @@ -59,4 +59,4 @@ public class ColorRange : IValueRange return Color.FromArgb((byte) (_start.A - _subColorArr[0] * range), (byte) (_start.R - _subColorArr[1] * range), (byte) (_start.G - _subColorArr[2] * range), (byte) (_start.B - _subColorArr[3] * range)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Range/DateTimeRange.cs b/src/Shared/HandyControl_Shared/Data/Range/DateTimeRange.cs index bd15e86b..d25a4718 100644 --- a/src/Shared/HandyControl_Shared/Data/Range/DateTimeRange.cs +++ b/src/Shared/HandyControl_Shared/Data/Range/DateTimeRange.cs @@ -21,4 +21,4 @@ public struct DateTimeRange : IValueRange public DateTime End { get; set; } public double TotalMilliseconds => (End - Start).TotalMilliseconds; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Range/DoubleRange.cs b/src/Shared/HandyControl_Shared/Data/Range/DoubleRange.cs index 5081c9ff..b3b5013b 100644 --- a/src/Shared/HandyControl_Shared/Data/Range/DoubleRange.cs +++ b/src/Shared/HandyControl_Shared/Data/Range/DoubleRange.cs @@ -5,4 +5,4 @@ public struct DoubleRange : IValueRange public double Start { get; set; } public double End { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/Range/IValueRange.cs b/src/Shared/HandyControl_Shared/Data/Range/IValueRange.cs index baf71755..af9770a8 100644 --- a/src/Shared/HandyControl_Shared/Data/Range/IValueRange.cs +++ b/src/Shared/HandyControl_Shared/Data/Range/IValueRange.cs @@ -5,4 +5,4 @@ public interface IValueRange T Start { get; set; } T End { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/ResourceToken.cs b/src/Shared/HandyControl_Shared/Data/ResourceToken.cs index b3e244d9..21e929a5 100644 --- a/src/Shared/HandyControl_Shared/Data/ResourceToken.cs +++ b/src/Shared/HandyControl_Shared/Data/ResourceToken.cs @@ -371,4 +371,4 @@ public class ResourceToken internal const string ComboBoxItemCapsuleVerticalLast = nameof(ComboBoxItemCapsuleVerticalLast); #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Data/ValueBoxes.cs b/src/Shared/HandyControl_Shared/Data/ValueBoxes.cs index ef197c4a..8e216bec 100644 --- a/src/Shared/HandyControl_Shared/Data/ValueBoxes.cs +++ b/src/Shared/HandyControl_Shared/Data/ValueBoxes.cs @@ -47,4 +47,4 @@ internal static class ValueBoxes internal static object OrientationBox(Orientation value) => value == Orientation.Horizontal ? HorizontalBox : VerticalBox; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/Commands/CloseWindowCommand.cs b/src/Shared/HandyControl_Shared/Interactivity/Commands/CloseWindowCommand.cs index b01d4403..822e4045 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/Commands/CloseWindowCommand.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/Commands/CloseWindowCommand.cs @@ -20,4 +20,4 @@ public class CloseWindowCommand : ICommand } public event EventHandler CanExecuteChanged; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/Commands/ControlCommands.cs b/src/Shared/HandyControl_Shared/Interactivity/Commands/ControlCommands.cs index 1c18fb4d..bea450e0 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/Commands/ControlCommands.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/Commands/ControlCommands.cs @@ -181,4 +181,4 @@ public static class ControlCommands /// 按照名称排序 /// public static RoutedCommand SortByName { get; } = new(nameof(SortByName), typeof(ControlCommands)); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/Commands/OpenLinkCommand.cs b/src/Shared/HandyControl_Shared/Interactivity/Commands/OpenLinkCommand.cs index 7d666516..cd3a429b 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/Commands/OpenLinkCommand.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/Commands/OpenLinkCommand.cs @@ -29,4 +29,4 @@ public class OpenLinkCommand : ICommand } public event EventHandler CanExecuteChanged; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/Commands/PushMainWindow2TopCommand.cs b/src/Shared/HandyControl_Shared/Interactivity/Commands/PushMainWindow2TopCommand.cs index 9c1a95c9..aef16665 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/Commands/PushMainWindow2TopCommand.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/Commands/PushMainWindow2TopCommand.cs @@ -19,4 +19,4 @@ public class PushMainWindow2TopCommand : ICommand } public event EventHandler CanExecuteChanged; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/Commands/ShutdownAppCommand.cs b/src/Shared/HandyControl_Shared/Interactivity/Commands/ShutdownAppCommand.cs index ce34a41c..23ca77c1 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/Commands/ShutdownAppCommand.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/Commands/ShutdownAppCommand.cs @@ -11,4 +11,4 @@ public class ShutdownAppCommand : ICommand public void Execute(object parameter) => Application.Current.Shutdown(); public event EventHandler CanExecuteChanged; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/Commands/StartScreenshotCommand.cs b/src/Shared/HandyControl_Shared/Interactivity/Commands/StartScreenshotCommand.cs index fdd7b379..1a126065 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/Commands/StartScreenshotCommand.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/Commands/StartScreenshotCommand.cs @@ -11,4 +11,4 @@ public class StartScreenshotCommand : ICommand public void Execute(object parameter) => new Screenshot().Start(); public event EventHandler CanExecuteChanged; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/EventToCommand.cs b/src/Shared/HandyControl_Shared/Interactivity/EventToCommand.cs index 2c565100..52d32729 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/EventToCommand.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/EventToCommand.cs @@ -191,4 +191,4 @@ public class EventToCommand : TriggerAction } private void OnCommandCanExecuteChanged(object sender, EventArgs e) => EnableDisableElement(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/IEventArgsConverter.cs b/src/Shared/HandyControl_Shared/Interactivity/IEventArgsConverter.cs index a704cded..0329f0f1 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/IEventArgsConverter.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/IEventArgsConverter.cs @@ -27,4 +27,4 @@ namespace HandyControl.Interactivity; public interface IEventArgsConverter { object Convert(object value, object parameter); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/MouseDragElementBehaviorEx.cs b/src/Shared/HandyControl_Shared/Interactivity/MouseDragElementBehaviorEx.cs index 1b3287c0..a96c94e7 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/MouseDragElementBehaviorEx.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/MouseDragElementBehaviorEx.cs @@ -364,4 +364,4 @@ internal class MouseDragElementBehaviorEx : Behavior AssociatedObject.RemoveHandler(UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(OnMouseLeftButtonDown)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Interactivity/RoutedEventTrigger.cs b/src/Shared/HandyControl_Shared/Interactivity/RoutedEventTrigger.cs index 757c08da..aee11558 100644 --- a/src/Shared/HandyControl_Shared/Interactivity/RoutedEventTrigger.cs +++ b/src/Shared/HandyControl_Shared/Interactivity/RoutedEventTrigger.cs @@ -25,4 +25,4 @@ public class RoutedEventTrigger : EventTriggerBase { return RoutedEvent.Name; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/DiscreteGeometryKeyFrame.cs b/src/Shared/HandyControl_Shared/Media/Animation/DiscreteGeometryKeyFrame.cs index f7ed1112..689e57f1 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/DiscreteGeometryKeyFrame.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/DiscreteGeometryKeyFrame.cs @@ -21,4 +21,4 @@ public class DiscreteGeometryKeyFrame : GeometryKeyFrame protected override Freezable CreateInstanceCore() => new DiscreteGeometryKeyFrame(); protected override double[] InterpolateValueCore(double[] baseValue, double keyFrameProgress) => keyFrameProgress < 1.0 ? baseValue : Numbers; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/EasingGeometryKeyFrame.cs b/src/Shared/HandyControl_Shared/Media/Animation/EasingGeometryKeyFrame.cs index 726c03a5..81f41ab4 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/EasingGeometryKeyFrame.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/EasingGeometryKeyFrame.cs @@ -59,4 +59,4 @@ public class EasingGeometryKeyFrame : GeometryKeyFrame get => (IEasingFunction) GetValue(EasingFunctionProperty); set => SetValue(EasingFunctionProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimation.cs b/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimation.cs index 497f847f..572602ee 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimation.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimation.cs @@ -176,4 +176,4 @@ public class GeometryAnimation : GeometryAnimationBase get => (bool) GetValue(IsCumulativeProperty); set => SetValue(IsCumulativeProperty, ValueBoxes.BooleanBox(value)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationBase.cs b/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationBase.cs index 82efee27..d9e929b2 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationBase.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationBase.cs @@ -56,4 +56,4 @@ public abstract class GeometryAnimationBase : AnimationTimeline } protected abstract Geometry GetCurrentValueCore(Geometry defaultOriginValue, Geometry defaultDestinationValue, AnimationClock animationClock); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationUsingKeyFrames.cs b/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationUsingKeyFrames.cs index 11d0636a..47c04b4f 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationUsingKeyFrames.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/GeometryAnimationUsingKeyFrames.cs @@ -517,4 +517,4 @@ public class GeometryAnimationUsingKeyFrames : GeometryAnimationBase, IKeyFrameA } while (index < maxKeyFrameIndex); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/GeometryKeyFrameCollection.cs b/src/Shared/HandyControl_Shared/Media/Animation/GeometryKeyFrameCollection.cs index 32ee9f89..be54d0aa 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/GeometryKeyFrameCollection.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/GeometryKeyFrameCollection.cs @@ -319,4 +319,4 @@ public class GeometryKeyFrameCollection : Freezable, IList return IsFrozen; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/LinearGeometryKeyFrame.cs b/src/Shared/HandyControl_Shared/Media/Animation/LinearGeometryKeyFrame.cs index 445a1437..cc015f68 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/LinearGeometryKeyFrame.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/LinearGeometryKeyFrame.cs @@ -39,4 +39,4 @@ public class LinearGeometryKeyFrame : GeometryKeyFrame return AnimationHelper.InterpolateGeometryValue(baseValue, Numbers, keyFrameProgress); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/ResolvedKeyFrameEntry.cs b/src/Shared/HandyControl_Shared/Media/Animation/ResolvedKeyFrameEntry.cs index b9311576..584f84da 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/ResolvedKeyFrameEntry.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/ResolvedKeyFrameEntry.cs @@ -34,4 +34,4 @@ internal struct ResolvedKeyFrameEntry : IComparable return 0; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Animation/SplineGeometryKeyFrame.cs b/src/Shared/HandyControl_Shared/Media/Animation/SplineGeometryKeyFrame.cs index e64a06c2..5884af9b 100644 --- a/src/Shared/HandyControl_Shared/Media/Animation/SplineGeometryKeyFrame.cs +++ b/src/Shared/HandyControl_Shared/Media/Animation/SplineGeometryKeyFrame.cs @@ -55,4 +55,4 @@ public class SplineGeometryKeyFrame : GeometryKeyFrame get => (KeySpline) GetValue(KeySplineProperty); set => SetValue(KeySplineProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Effects/BrightnessEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/BrightnessEffect.cs index f0ee1481..531bb4a8 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/BrightnessEffect.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/BrightnessEffect.cs @@ -33,4 +33,4 @@ public class BrightnessEffect : EffectBase get => (double) GetValue(BrightnessProperty); set => SetValue(BrightnessProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs index ff5889ae..dbeb242f 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs @@ -21,4 +21,4 @@ public class ColorComplementEffect : EffectBase UpdateShaderValue(InputProperty); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Effects/ColorMatrixEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/ColorMatrixEffect.cs index 4d9a5ed6..b97684fd 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/ColorMatrixEffect.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/ColorMatrixEffect.cs @@ -243,4 +243,4 @@ public class ColorMatrixEffect : EffectBase } #endregion -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Effects/ContrastEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/ContrastEffect.cs index 2558537b..b17b802d 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/ContrastEffect.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/ContrastEffect.cs @@ -33,4 +33,4 @@ public class ContrastEffect : EffectBase get => (double) GetValue(ContrastProperty); set => SetValue(ContrastProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Effects/EffectBase.cs b/src/Shared/HandyControl_Shared/Media/Effects/EffectBase.cs index c0dd2011..97c12d88 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/EffectBase.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/EffectBase.cs @@ -13,4 +13,4 @@ public abstract class EffectBase : ShaderEffect get => (Brush) GetValue(InputProperty); set => SetValue(InputProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs index 5535cb56..671a20e6 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs @@ -33,4 +33,4 @@ public class GrayScaleEffect : EffectBase get => (double) GetValue(ScaleProperty); set => SetValue(ScaleProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Properties/Langs/LangProvider.cs b/src/Shared/HandyControl_Shared/Properties/Langs/LangProvider.cs index cdc5f4cb..3bb79527 100644 --- a/src/Shared/HandyControl_Shared/Properties/Langs/LangProvider.cs +++ b/src/Shared/HandyControl_Shared/Properties/Langs/LangProvider.cs @@ -488,4 +488,4 @@ public class LangKeys /// public static string ZoomOut = nameof(ZoomOut); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Themes/SharedResourceDictionary.cs b/src/Shared/HandyControl_Shared/Themes/SharedResourceDictionary.cs index 9c0f67d3..222f9220 100644 --- a/src/Shared/HandyControl_Shared/Themes/SharedResourceDictionary.cs +++ b/src/Shared/HandyControl_Shared/Themes/SharedResourceDictionary.cs @@ -35,4 +35,4 @@ public class SharedResourceDictionary : ResourceDictionary } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.cs b/src/Shared/HandyControl_Shared/Themes/Theme.cs index ac8a707c..07ab534a 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.cs +++ b/src/Shared/HandyControl_Shared/Themes/Theme.cs @@ -243,4 +243,4 @@ public class Theme : ResourceDictionary public class StandaloneTheme : Theme { public override ResourceDictionary GetTheme() => ResourceHelper.GetStandaloneTheme(); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2BooleanReConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2BooleanReConverter.cs index 5938d564..1af3fdf5 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2BooleanReConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2BooleanReConverter.cs @@ -23,4 +23,4 @@ public class Boolean2BooleanReConverter : IValueConverter } return value; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2StrConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2StrConverter.cs index c81a1e7e..3177a8cb 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2StrConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2StrConverter.cs @@ -28,4 +28,4 @@ public class Boolean2StringConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2VisibilityReConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2VisibilityReConverter.cs index 0c173e94..b94627f8 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2VisibilityReConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Boolean2VisibilityReConverter.cs @@ -16,4 +16,4 @@ public class Boolean2VisibilityReConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2BooleanConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2BooleanConverter.cs index c24781d3..89c83351 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2BooleanConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2BooleanConverter.cs @@ -36,4 +36,4 @@ public class BooleanArr2BooleanConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2VisibilityConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2VisibilityConverter.cs index 3c93217a..19714766 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2VisibilityConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/BooleanArr2VisibilityConverter.cs @@ -35,4 +35,4 @@ public class BooleanArr2VisibilityConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularClipConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularClipConverter.cs index ca6aa5de..8eb83de5 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularClipConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularClipConverter.cs @@ -32,4 +32,4 @@ public class BorderCircularClipConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularConverter.cs index ceead447..2d556de2 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/BorderCircularConverter.cs @@ -27,4 +27,4 @@ public class BorderCircularConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/BorderClipConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/BorderClipConverter.cs index 404e4d54..a27fab6a 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/BorderClipConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/BorderClipConverter.cs @@ -46,4 +46,4 @@ public class BorderClipConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/ColLayoutConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/ColLayoutConverter.cs index cf226a43..7c054342 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/ColLayoutConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/ColLayoutConverter.cs @@ -131,4 +131,4 @@ public class ColLayoutConverter : TypeConverter _ => throw new FormatException("InvalidStringColLayout") }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Color2ChannelAConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Color2ChannelAConverter.cs index c25f91b7..e4c3828d 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Color2ChannelAConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Color2ChannelAConverter.cs @@ -35,4 +35,4 @@ public class Color2ChannelAConverter : IValueConverter } return parameter; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Color2HexStrConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Color2HexStrConverter.cs index 150c6d60..b58392e6 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Color2HexStrConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Color2HexStrConverter.cs @@ -36,4 +36,4 @@ public class Color2HexStringConverter : IValueConverter } return new SolidColorBrush(default); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/CornerRadiusSplitConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/CornerRadiusSplitConverter.cs index 3bbf7209..6923ee18 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/CornerRadiusSplitConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/CornerRadiusSplitConverter.cs @@ -30,4 +30,4 @@ public class CornerRadiusSplitConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/DataGridSelectAllButtonVisibilityConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/DataGridSelectAllButtonVisibilityConverter.cs index 2febc984..ea0514a0 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/DataGridSelectAllButtonVisibilityConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/DataGridSelectAllButtonVisibilityConverter.cs @@ -56,4 +56,4 @@ public class DataGridSelectAllButtonVisibilityConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Double2GridLengthConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Double2GridLengthConverter.cs index 9c2c8b5c..62538ead 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Double2GridLengthConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Double2GridLengthConverter.cs @@ -25,4 +25,4 @@ public class Double2GridLengthConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/DoubleMinConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/DoubleMinConverter.cs index 200690db..713af864 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/DoubleMinConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/DoubleMinConverter.cs @@ -27,4 +27,4 @@ public class DoubleMinConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Int2StrConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Int2StrConverter.cs index 53c97cfb..e90d8051 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Int2StrConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Int2StrConverter.cs @@ -34,4 +34,4 @@ public class Int2StringConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Long2FileSizeConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Long2FileSizeConverter.cs index f28c6a6b..315b7bd7 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Long2FileSizeConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Long2FileSizeConverter.cs @@ -48,4 +48,4 @@ public class Long2FileSizeConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Number2PercentageConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Number2PercentageConverter.cs index 3eae416a..d4fe7b4b 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Number2PercentageConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Number2PercentageConverter.cs @@ -32,4 +32,4 @@ public class Number2PercentageConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs index 4a5dc520..892ce2c3 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Object2BooleanConverter.cs @@ -12,4 +12,4 @@ public class Object2BooleanConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Object2StringConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Object2StringConverter.cs index 641fec1d..88be78cb 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Object2StringConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Object2StringConverter.cs @@ -12,4 +12,4 @@ public class Object2StringConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityConverter.cs index 5e37b618..d8432dbe 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityConverter.cs @@ -16,4 +16,4 @@ public class Object2VisibilityConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityReConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityReConverter.cs index 2ed99ba4..9b4205e6 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityReConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/Object2VisibilityReConverter.cs @@ -16,4 +16,4 @@ public class Object2VisibilityReConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/RectangleCircularConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/RectangleCircularConverter.cs index 22910714..af08f6f0 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/RectangleCircularConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/RectangleCircularConverter.cs @@ -27,4 +27,4 @@ public class RectangleCircularConverter : IMultiValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityConverter.cs index c6991e1c..e8fe4310 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityConverter.cs @@ -16,4 +16,4 @@ public class String2VisibilityConverter : IValueConverter { return value != null && (Visibility) value == Visibility.Collapsed; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityReConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityReConverter.cs index 5d829835..cc9fddbb 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityReConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/String2VisibilityReConverter.cs @@ -16,4 +16,4 @@ public class String2VisibilityReConverter : IValueConverter { return value != null && (Visibility) value == Visibility.Collapsed; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/ThicknessSplitConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/ThicknessSplitConverter.cs index 00399d92..89433e05 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/ThicknessSplitConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/ThicknessSplitConverter.cs @@ -30,4 +30,4 @@ public class ThicknessSplitConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Converter/TreeViewItemMarginConverter.cs b/src/Shared/HandyControl_Shared/Tools/Converter/TreeViewItemMarginConverter.cs index fe65cda5..5a6f7bb5 100644 --- a/src/Shared/HandyControl_Shared/Tools/Converter/TreeViewItemMarginConverter.cs +++ b/src/Shared/HandyControl_Shared/Tools/Converter/TreeViewItemMarginConverter.cs @@ -24,4 +24,4 @@ public class TreeViewItemMarginConverter : IValueConverter { throw new NotSupportedException(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/ColLayout.cs b/src/Shared/HandyControl_Shared/Tools/Extension/ColLayout.cs index 28985b55..37f67cea 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/ColLayout.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/ColLayout.cs @@ -123,4 +123,4 @@ public class ColLayout : MarkupExtension sb.Append(Xxl.ToString(cultureInfo)); return sb.ToString(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/ColorExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/ColorExtension.cs index 09ceca5c..10a6deef 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/ColorExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/ColorExtension.cs @@ -29,4 +29,4 @@ public static class ColorExtension color.G, color.B }; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/DependencyObjectExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/DependencyObjectExtension.cs index d8d0a947..4ed89210 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/DependencyObjectExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/DependencyObjectExtension.cs @@ -14,4 +14,4 @@ public static class DependencyObjectExtension _ => LogicalTreeHelper.GetParent(sourceElement) }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/DialogExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/DialogExtension.cs index 08aaf8d9..b3e23049 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/DialogExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/DialogExtension.cs @@ -74,4 +74,4 @@ public static class DialogExtension return viewModel; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/EnumerableExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/EnumerableExtension.cs index 0f34b603..2748ac4e 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/EnumerableExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/EnumerableExtension.cs @@ -27,4 +27,4 @@ public static class EnumerableExtension return enumerable; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/FrameworkElementExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/FrameworkElementExtension.cs index 3a032c87..f8b42fb9 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/FrameworkElementExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/FrameworkElementExtension.cs @@ -54,4 +54,4 @@ public static class FrameworkElementExtension return 0; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/GeometryExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/GeometryExtension.cs index a0c44fcd..80cec295 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/GeometryExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/GeometryExtension.cs @@ -46,4 +46,4 @@ public static class GeometryExtension length /= min; return length / strokeThickness; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/LangExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/LangExtension.cs index f60df3fd..d585f0ce 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/LangExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/LangExtension.cs @@ -57,37 +57,37 @@ public class LangExtension : MarkupExtension switch (Key) { case string key: - { - var binding = CreateLangBinding(key); - BindingOperations.SetBinding(targetObject, targetProperty, binding); - return binding.ProvideValue(serviceProvider); - } + { + var binding = CreateLangBinding(key); + BindingOperations.SetBinding(targetObject, targetProperty, binding); + return binding.ProvideValue(serviceProvider); + } case Binding keyBinding when targetObject is FrameworkElement element: - { - if (element.DataContext != null) { - var binding = SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); - return binding.ProvideValue(serviceProvider); + if (element.DataContext != null) + { + var binding = SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); + return binding.ProvideValue(serviceProvider); + } + + SetTargetProperty(element, targetProperty); + element.DataContextChanged += LangExtension_DataContextChanged; + + break; } - - SetTargetProperty(element, targetProperty); - element.DataContextChanged += LangExtension_DataContextChanged; - - break; - } case Binding keyBinding when targetObject is FrameworkContentElement element: - { - if (element.DataContext != null) { - var binding = SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); - return binding.ProvideValue(serviceProvider); + if (element.DataContext != null) + { + var binding = SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); + return binding.ProvideValue(serviceProvider); + } + + SetTargetProperty(element, targetProperty); + element.DataContextChanged += LangExtension_DataContextChanged; + + break; } - - SetTargetProperty(element, targetProperty); - element.DataContextChanged += LangExtension_DataContextChanged; - - break; - } } return string.Empty; @@ -98,25 +98,25 @@ public class LangExtension : MarkupExtension switch (sender) { case FrameworkElement element: - { - element.DataContextChanged -= LangExtension_DataContextChanged; - if (!(Key is Binding keyBinding)) return; + { + element.DataContextChanged -= LangExtension_DataContextChanged; + if (!(Key is Binding keyBinding)) return; - var targetProperty = GetTargetProperty(element); - SetTargetProperty(element, null); - SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); - break; - } + var targetProperty = GetTargetProperty(element); + SetTargetProperty(element, null); + SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); + break; + } case FrameworkContentElement element: - { - element.DataContextChanged -= LangExtension_DataContextChanged; - if (!(Key is Binding keyBinding)) return; + { + element.DataContextChanged -= LangExtension_DataContextChanged; + if (!(Key is Binding keyBinding)) return; - var targetProperty = GetTargetProperty(element); - SetTargetProperty(element, null); - SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); - break; - } + var targetProperty = GetTargetProperty(element); + SetTargetProperty(element, null); + SetLangBinding(element, targetProperty, keyBinding.Path, element.DataContext); + break; + } } } @@ -147,4 +147,4 @@ public class LangExtension : MarkupExtension Source = Source, Mode = BindingMode.OneWay }; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/StringExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/StringExtension.cs index 84e24f1e..ad844163 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/StringExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/StringExtension.cs @@ -28,4 +28,4 @@ public static class StringExtension return null; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/UIElementExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/UIElementExtension.cs index 891b46f2..0f816e58 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/UIElementExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/UIElementExtension.cs @@ -29,4 +29,4 @@ public static class UIElementExtension /// /// public static void Collapse(this UIElement element) => element.Visibility = Visibility.Collapsed; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Extension/ValueExtension.cs b/src/Shared/HandyControl_Shared/Tools/Extension/ValueExtension.cs index f5d63390..4ffe4aba 100644 --- a/src/Shared/HandyControl_Shared/Tools/Extension/ValueExtension.cs +++ b/src/Shared/HandyControl_Shared/Tools/Extension/ValueExtension.cs @@ -19,4 +19,4 @@ public static class ValueExtension && MathHelper.AreClose(thickness.Left, thickness.Bottom); public static bool IsNaN(this double value) => double.IsNaN(value); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Generator/ComparerGenerator.cs b/src/Shared/HandyControl_Shared/Tools/Generator/ComparerGenerator.cs index 83461450..4f61f348 100644 --- a/src/Shared/HandyControl_Shared/Tools/Generator/ComparerGenerator.cs +++ b/src/Shared/HandyControl_Shared/Tools/Generator/ComparerGenerator.cs @@ -31,4 +31,4 @@ public class ComparerGenerator { DateTimeRange } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Generator/DateTimeRangeComparer.cs b/src/Shared/HandyControl_Shared/Tools/Generator/DateTimeRangeComparer.cs index fc7b067f..f591629b 100644 --- a/src/Shared/HandyControl_Shared/Tools/Generator/DateTimeRangeComparer.cs +++ b/src/Shared/HandyControl_Shared/Tools/Generator/DateTimeRangeComparer.cs @@ -11,4 +11,4 @@ public class DateTimeRangeComparer : IComparer if (x.Start < y.Start && x.End < y.End) return -1; return 0; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Generator/GithubGravatarGenerator.cs b/src/Shared/HandyControl_Shared/Tools/Generator/GithubGravatarGenerator.cs index d8502f17..4f845e2e 100644 --- a/src/Shared/HandyControl_Shared/Tools/Generator/GithubGravatarGenerator.cs +++ b/src/Shared/HandyControl_Shared/Tools/Generator/GithubGravatarGenerator.cs @@ -116,4 +116,4 @@ public class GithubGravatarGenerator : IGravatarGenerator return Color.FromRgb((byte) (arr[hValue % 6] * 255), (byte) (arr[(hValue | 16) % 6] * 255), (byte) (arr[(hValue | 8) % 6] * 255)); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Generator/HatchBrushGenerator.cs b/src/Shared/HandyControl_Shared/Tools/Generator/HatchBrushGenerator.cs index 894caaae..9f00f085 100644 --- a/src/Shared/HandyControl_Shared/Tools/Generator/HatchBrushGenerator.cs +++ b/src/Shared/HandyControl_Shared/Tools/Generator/HatchBrushGenerator.cs @@ -113,4 +113,4 @@ public class HatchBrushGenerator hatchStyle < HatchStyle.Horizontal || hatchStyle > HatchStyle.SolidDiamond ? throw new ArgumentOutOfRangeException(nameof(hatchStyle)) : HatchBrushes[(int) hatchStyle]; -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/GlobalShortcut.cs b/src/Shared/HandyControl_Shared/Tools/GlobalShortcut.cs index d83161c6..830d73da 100644 --- a/src/Shared/HandyControl_Shared/Tools/GlobalShortcut.cs +++ b/src/Shared/HandyControl_Shared/Tools/GlobalShortcut.cs @@ -117,4 +117,4 @@ public class GlobalShortcut public static ObservableCollection GetKeyBindings(DependencyObject element) => (ObservableCollection) element.GetValue(KeyBindingsProperty); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/AnimationHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/AnimationHelper.cs index eb5021ae..95864b90 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/AnimationHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/AnimationHelper.cs @@ -90,4 +90,4 @@ public class AnimationHelper return accumulated; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/ArithmeticHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/ArithmeticHelper.cs index c07c6510..c0c68820 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/ArithmeticHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/ArithmeticHelper.cs @@ -123,4 +123,4 @@ internal class ArithmeticHelper var v1 = new Vector3D(p2.X - p1.X, p2.Y - p1.Y, p2.Z - p1.Z); return Vector3D.CrossProduct(v0, v1); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/BindingHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/BindingHelper.cs index fe560ad8..2ffcfbff 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/BindingHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/BindingHelper.cs @@ -27,4 +27,4 @@ public class BindingHelper BindingOperations.ClearBinding(tempObj, TextSearch.TextProperty); return result; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/ColorHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/ColorHelper.cs index 22739088..d17723a3 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/ColorHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/ColorHelper.cs @@ -16,4 +16,4 @@ public class ColorHelper var bytes = BitConverter.GetBytes(c); return Color.FromArgb(bytes[3], bytes[2], bytes[1], bytes[0]); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/ConfigHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/ConfigHelper.cs index adacda15..aab7503a 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/ConfigHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/ConfigHelper.cs @@ -79,9 +79,9 @@ public class ConfigHelper : INotifyPropertyChanged PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } #else - protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) - { - PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } #endif -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/DesignerHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/DesignerHelper.cs index 66348bf2..8b54df0e 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/DesignerHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/DesignerHelper.cs @@ -18,4 +18,4 @@ public class DesignerHelper return _isInDesignMode.Value; } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/DpiHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/DpiHelper.cs index c6a7a96e..582a34c3 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/DpiHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/DpiHelper.cs @@ -100,4 +100,4 @@ internal static class DpiHelper return newValue; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/FullScreenHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/FullScreenHelper.cs index 21d1e7e7..5c57372f 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/FullScreenHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/FullScreenHelper.cs @@ -273,4 +273,4 @@ internal static class FullScreenHelper return IntPtr.Zero; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/IconHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/IconHelper.cs index 2deb6d7e..01174bb7 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/IconHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/IconHelper.cs @@ -293,4 +293,4 @@ internal static class IconHelper var iconModuleFile = InteropMethods.GetModuleFileName(new HandleRef()); InteropMethods.ExtractIconEx(iconModuleFile, 0, out largeIconHandle, out smallIconHandle, 1); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/InputClickHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/InputClickHelper.cs index afee1272..2512a3ef 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/InputClickHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/InputClickHelper.cs @@ -145,4 +145,4 @@ public static class InputClickHelper public bool IsEmpty() => ClickEventHandler is null && DragStarted is null; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/ResourceHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/ResourceHelper.cs index 8a17a56e..90b59ece 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/ResourceHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/ResourceHelper.cs @@ -81,4 +81,4 @@ public class ResourceHelper Source = new Uri("pack://application:,,,/HandyControl;component/Themes/Theme.xaml") }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/ScreenHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/ScreenHelper.cs index 7863351d..442ec6ce 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/ScreenHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/ScreenHelper.cs @@ -81,4 +81,4 @@ internal class ScreenHelper workAreaRect = new Rect(monitorInfo.rcWork.Position, monitorInfo.rcWork.Size); } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/SecurityHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/SecurityHelper.cs index 3de2bca3..520d9515 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/SecurityHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/SecurityHelper.cs @@ -15,4 +15,4 @@ internal class SecurityHelper _allWindowsUIPermission ??= new UIPermission(UIPermissionWindow.AllWindows); _allWindowsUIPermission.Demand(); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/SingleOpenHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/SingleOpenHelper.cs index 4c4bdc88..002adc1c 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/SingleOpenHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/SingleOpenHelper.cs @@ -38,4 +38,4 @@ public class SingleOpenHelper } return default; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/SystemHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/SystemHelper.cs index 7222cde7..7e65b1a6 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/SystemHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/SystemHelper.cs @@ -25,4 +25,4 @@ internal class SystemHelper return value != null && value.ToString() != "0"; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/TextHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/TextHelper.cs index cd6f37f1..b6e71a0b 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/TextHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/TextHelper.cs @@ -16,14 +16,14 @@ internal class TextHelper typeface, fontSize, Brushes.Black); #else - var formattedText = new FormattedText( - text, - CultureInfo.CurrentUICulture, - flowDirection, - typeface, - fontSize, Brushes.Black, DpiHelper.DeviceDpiX); + var formattedText = new FormattedText( + text, + CultureInfo.CurrentUICulture, + flowDirection, + typeface, + fontSize, Brushes.Black, DpiHelper.DeviceDpiX); #endif return formattedText; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/TokenizerHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/TokenizerHelper.cs index 7790f82e..913cab34 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/TokenizerHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/TokenizerHelper.cs @@ -229,4 +229,4 @@ internal class TokenizerHelper return numericSeparator; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/TouchDragMoveWindowHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/TouchDragMoveWindowHelper.cs index e3b96334..83ba61c1 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/TouchDragMoveWindowHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/TouchDragMoveWindowHelper.cs @@ -69,4 +69,4 @@ internal class TouchDragMoveWindowHelper _lastPoint = lpPoint; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/ValidateHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/ValidateHelper.cs index 1a076162..dd40ca41 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/ValidateHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/ValidateHelper.cs @@ -103,4 +103,4 @@ public class ValidateHelper var v = (int) value; return v <= 0; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/VisualHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/VisualHelper.cs index 0c9cab6b..7d4d7f76 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/VisualHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/VisualHelper.cs @@ -73,4 +73,4 @@ public static class VisualHelper InteropMethods.SetWindowLong(hWnd, InteropValues.GWL.STYLE, num); return true; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Helper/WindowHelper.cs b/src/Shared/HandyControl_Shared/Tools/Helper/WindowHelper.cs index 9f18001f..23ec5e0f 100644 --- a/src/Shared/HandyControl_Shared/Tools/Helper/WindowHelper.cs +++ b/src/Shared/HandyControl_Shared/Tools/Helper/WindowHelper.cs @@ -140,10 +140,10 @@ public static class WindowHelper #if NET40 return WindowResizeBorderThickness.Add(new Thickness(autoHide ? -8 : 0)); #elif NETCOREAPP - var hdc = InteropMethods.GetDC(IntPtr.Zero); - var scale = InteropMethods.GetDeviceCaps(hdc, InteropValues.DESKTOPVERTRES) / (float) InteropMethods.GetDeviceCaps(hdc, InteropValues.VERTRES); - InteropMethods.ReleaseDC(IntPtr.Zero, hdc); - return WindowResizeBorderThickness.Add(new Thickness((autoHide ? -4 : 4) * scale)); + var hdc = InteropMethods.GetDC(IntPtr.Zero); + var scale = InteropMethods.GetDeviceCaps(hdc, InteropValues.DESKTOPVERTRES) / (float) InteropMethods.GetDeviceCaps(hdc, InteropValues.VERTRES); + InteropMethods.ReleaseDC(IntPtr.Zero, hdc); + return WindowResizeBorderThickness.Add(new Thickness((autoHide ? -4 : 4) * scale)); #else return WindowResizeBorderThickness.Add(new Thickness(autoHide ? -4 : 4)); #endif @@ -201,4 +201,4 @@ public static class WindowHelper public static void StartFullScreen(this Window window) => FullScreenHelper.StartFullScreen(window); public static void EndFullScreen(this Window window) => FullScreenHelper.EndFullScreen(window); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Hook/ClipboardHook.cs b/src/Shared/HandyControl_Shared/Tools/Hook/ClipboardHook.cs index 5979fb3b..25916a90 100644 --- a/src/Shared/HandyControl_Shared/Tools/Hook/ClipboardHook.cs +++ b/src/Shared/HandyControl_Shared/Tools/Hook/ClipboardHook.cs @@ -53,4 +53,4 @@ public class ClipboardHook } return IntPtr.Zero; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Hook/KeyboardHook.cs b/src/Shared/HandyControl_Shared/Tools/Hook/KeyboardHook.cs index 40a1bcd4..f9cca1f0 100644 --- a/src/Shared/HandyControl_Shared/Tools/Hook/KeyboardHook.cs +++ b/src/Shared/HandyControl_Shared/Tools/Hook/KeyboardHook.cs @@ -101,4 +101,4 @@ public class KeyboardHook } return InteropMethods.CallNextHookEx(HookId, nCode, wParam, lParam); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Hook/MouseHook.cs b/src/Shared/HandyControl_Shared/Tools/Hook/MouseHook.cs index caf5ad10..149a1a8a 100644 --- a/src/Shared/HandyControl_Shared/Tools/Hook/MouseHook.cs +++ b/src/Shared/HandyControl_Shared/Tools/Hook/MouseHook.cs @@ -64,4 +64,4 @@ internal class MouseHook return InteropMethods.CallNextHookEx(HookId, nCode, wParam, lParam); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Hook/SystemMenuHook.cs b/src/Shared/HandyControl_Shared/Tools/Hook/SystemMenuHook.cs index 6ce5ada3..235bdcb7 100644 --- a/src/Shared/HandyControl_Shared/Tools/Hook/SystemMenuHook.cs +++ b/src/Shared/HandyControl_Shared/Tools/Hook/SystemMenuHook.cs @@ -49,4 +49,4 @@ public class SystemMenuHook } return IntPtr.Zero; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/BitmapHandle.cs b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/BitmapHandle.cs index 9dbe38f8..4a8047ae 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/BitmapHandle.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/BitmapHandle.cs @@ -41,4 +41,4 @@ internal sealed class BitmapHandle : WpfSafeHandle handle = hbitmap, }; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/CommonHandles.cs b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/CommonHandles.cs index 89439f50..3a4401c1 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/CommonHandles.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/CommonHandles.cs @@ -12,4 +12,4 @@ internal static class CommonHandles public static readonly int GDI = HandleCollector.RegisterType(nameof(GDI), 50, 500); public static readonly int Kernel = HandleCollector.RegisterType(nameof(Kernel), 0, 1000); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/HandleCollector.cs b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/HandleCollector.cs index 481f4de4..c8613ef4 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/HandleCollector.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/HandleCollector.cs @@ -128,4 +128,4 @@ internal static class HandleCollector } } } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/IconHandle.cs b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/IconHandle.cs index 8018dcec..d59d8338 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/IconHandle.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/IconHandle.cs @@ -29,4 +29,4 @@ internal sealed class IconHandle : WpfSafeHandle { return handle; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/SafeFileMappingHandle.cs b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/SafeFileMappingHandle.cs index b4cb71e1..4e24b6db 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/SafeFileMappingHandle.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/SafeFileMappingHandle.cs @@ -46,4 +46,4 @@ internal sealed class SafeFileMappingHandle : SafeHandleZeroOrMinusOneIsInvalid var result = InteropMethods.IntCloseHandle(handle); return result; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/WpfSafeHandle.cs b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/WpfSafeHandle.cs index ca9a81e8..cbdc4768 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/Handle/WpfSafeHandle.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/Handle/WpfSafeHandle.cs @@ -20,4 +20,4 @@ internal abstract class WpfSafeHandle : SafeHandleZeroOrMinusOneIsInvalid HandleCollector.Remove(_collectorId); base.Dispose(disposing); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/InteropMethods.cs b/src/Shared/HandyControl_Shared/Tools/Interop/InteropMethods.cs index 5291d3d8..4749a44e 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/InteropMethods.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/InteropMethods.cs @@ -744,4 +744,4 @@ internal class InteropMethods internal static extern int RtlGetVersion(out InteropValues.RTL_OSVERSIONINFOEX lpVersionInformation); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/Interop/InteropValues.cs b/src/Shared/HandyControl_Shared/Tools/Interop/InteropValues.cs index e2495a21..66f055b4 100644 --- a/src/Shared/HandyControl_Shared/Tools/Interop/InteropValues.cs +++ b/src/Shared/HandyControl_Shared/Tools/Interop/InteropValues.cs @@ -1188,4 +1188,4 @@ internal class InteropValues SHOWDEFAULT = 10, FORCEMINIMIZE = 11, } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/RegexJudgment.cs b/src/Shared/HandyControl_Shared/Tools/RegexJudgment.cs index 6b8ff981..7c8d479d 100644 --- a/src/Shared/HandyControl_Shared/Tools/RegexJudgment.cs +++ b/src/Shared/HandyControl_Shared/Tools/RegexJudgment.cs @@ -93,4 +93,4 @@ public static class RegexJudgment { return Regex.IsMatch(str, RegexPatterns.UrlPattern); } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs b/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs index 194f6228..b01ecb95 100644 --- a/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs +++ b/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs @@ -147,4 +147,4 @@ public sealed class RegexPatterns /// /// public object GetValue(string propertyName) => GetType().GetField(propertyName).GetValue(null); -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/StyleSelector/ButtonGroupItemStyleSelector.cs b/src/Shared/HandyControl_Shared/Tools/StyleSelector/ButtonGroupItemStyleSelector.cs index a145972f..6dca25eb 100644 --- a/src/Shared/HandyControl_Shared/Tools/StyleSelector/ButtonGroupItemStyleSelector.cs +++ b/src/Shared/HandyControl_Shared/Tools/StyleSelector/ButtonGroupItemStyleSelector.cs @@ -118,4 +118,4 @@ public class ButtonGroupItemStyleSelector : StyleSelector ? ResourceToken.RadioGroupItemVerticalLast : ResourceToken.RadioGroupItemDefault]; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/StyleSelector/ComboBoxItemCapsuleStyleSelector.cs b/src/Shared/HandyControl_Shared/Tools/StyleSelector/ComboBoxItemCapsuleStyleSelector.cs index 6032e79c..8f25e61f 100644 --- a/src/Shared/HandyControl_Shared/Tools/StyleSelector/ComboBoxItemCapsuleStyleSelector.cs +++ b/src/Shared/HandyControl_Shared/Tools/StyleSelector/ComboBoxItemCapsuleStyleSelector.cs @@ -26,4 +26,4 @@ public class ComboBoxItemCapsuleStyleSelector : StyleSelector return null; } -} \ No newline at end of file +} diff --git a/src/Shared/HandyControl_Shared/Tools/StyleSelector/TabItemCapsuleStyleSelector.cs b/src/Shared/HandyControl_Shared/Tools/StyleSelector/TabItemCapsuleStyleSelector.cs index d3a8d644..b475242e 100644 --- a/src/Shared/HandyControl_Shared/Tools/StyleSelector/TabItemCapsuleStyleSelector.cs +++ b/src/Shared/HandyControl_Shared/Tools/StyleSelector/TabItemCapsuleStyleSelector.cs @@ -31,4 +31,4 @@ public class TabItemCapsuleStyleSelector : StyleSelector return null; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/BezierCurveFlattener.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/BezierCurveFlattener.cs index e6b32928..6982d9a0 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/BezierCurveFlattener.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/BezierCurveFlattener.cs @@ -353,4 +353,4 @@ internal static class BezierCurveFlattener return _numSteps != 0; } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/CommonExtensions.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/CommonExtensions.cs index b8fd80f2..132a7370 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/CommonExtensions.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/CommonExtensions.cs @@ -111,4 +111,4 @@ internal static class CommonExtensions { list.RemoveAt(list.Count - 1); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/ExceptionStringTable.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/ExceptionStringTable.cs index 43793776..ba0a8e82 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/ExceptionStringTable.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/ExceptionStringTable.cs @@ -35,4 +35,4 @@ internal class ExceptionStringTable internal static string TypeNotSupported => ResourceManager.GetString("TypeNotSupported", Culture); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/GeometryHelper.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/GeometryHelper.cs index 864a8610..121965ff 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/GeometryHelper.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/GeometryHelper.cs @@ -217,4 +217,4 @@ public static class GeometryHelper return false; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchLocation.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchLocation.cs index 7536bee4..e44c5ea0 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchLocation.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchLocation.cs @@ -46,4 +46,4 @@ internal class MarchLocation { return GeometryHelper.Lerp(points[Index], points[Index + 1], Ratio); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchStopReason.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchStopReason.cs index ca67f651..6462bf0a 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchStopReason.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/MarchStopReason.cs @@ -5,4 +5,4 @@ internal enum MarchStopReason CompleteStep, CompletePolyline, CornerPoint -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/MathHelper.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/MathHelper.cs index 138d3ab8..d8b171b3 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/MathHelper.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/MathHelper.cs @@ -65,4 +65,4 @@ internal static class MathHelper } return fallback; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathFigureHelper.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathFigureHelper.cs index 0065709e..adee4976 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathFigureHelper.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathFigureHelper.cs @@ -111,4 +111,4 @@ internal static class PathFigureHelper flag |= figure.SetIfDifferent(PathFigure.IsClosedProperty, isClosed); return flag | figure.SetIfDifferent(PathFigure.IsFilledProperty, isFilled); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathGeometryHelper.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathGeometryHelper.cs index a4393ec8..9083a9f3 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathGeometryHelper.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathGeometryHelper.cs @@ -21,4 +21,4 @@ internal static class PathGeometryHelper } internal static Geometry FixPathGeometryBoundary(Geometry geometry) => geometry; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentData.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentData.cs index af3a5517..3b4fd56e 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentData.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentData.cs @@ -13,4 +13,4 @@ internal sealed class PathSegmentData public System.Windows.Media.PathSegment PathSegment { get; } public Point StartPoint { get; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentHelper.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentHelper.cs index 44a4a41b..8b490740 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentHelper.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/PathSegmentHelper.cs @@ -745,4 +745,4 @@ internal static class PathSegmentHelper yield return SimpleSegment.Create(Start, _segment.Point1, _segment.Point2); } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineData.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineData.cs index b9d850a6..9b6804fb 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineData.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineData.cs @@ -148,4 +148,4 @@ internal class PolylineData return Normals[index]; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineHelper.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineHelper.cs index 85cea863..2674d8fe 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineHelper.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/PolylineHelper.cs @@ -112,4 +112,4 @@ internal static class PolylineHelper } } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/RandomEngine.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/RandomEngine.cs index a96f08b3..280e986a 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/RandomEngine.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/RandomEngine.cs @@ -41,4 +41,4 @@ internal class RandomEngine public double NextUniform(double min, double max) => Uniform() * (max - min) + min; private double Uniform() => _random.NextDouble(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Drawing/SimpleSegment.cs b/src/Shared/Microsoft.Expression.Drawing/Drawing/SimpleSegment.cs index 41cc759a..fe553b3b 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Drawing/SimpleSegment.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Drawing/SimpleSegment.cs @@ -72,4 +72,4 @@ internal class SimpleSegment return; } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/ArcGeometrySource.cs b/src/Shared/Microsoft.Expression.Drawing/Media/ArcGeometrySource.cs index 4dbdbe07..8f8afb95 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/ArcGeometrySource.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/ArcGeometrySource.cs @@ -466,4 +466,4 @@ internal class ArcGeometrySource : GeometrySource flag |= geometry.SetIfDifferent(LineGeometry.StartPointProperty, arcPoint); return flag | geometry.SetIfDifferent(LineGeometry.EndPointProperty, point2); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyChangedEventArgs.cs b/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyChangedEventArgs.cs index a87c68c0..ae7d618e 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyChangedEventArgs.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyChangedEventArgs.cs @@ -7,4 +7,4 @@ internal class DrawingPropertyChangedEventArgs : EventArgs public bool IsAnimated { get; set; } public DrawingPropertyMetadata Metadata { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadata.cs b/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadata.cs index 6c090281..f7c07af5 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadata.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadata.cs @@ -73,4 +73,4 @@ internal class DrawingPropertyMetadata : FrameworkPropertyMetadata propertyChangedCallback?.Invoke(sender, e); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadataOptions.cs b/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadataOptions.cs index bb6bd8e0..11722e0c 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadataOptions.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadataOptions.cs @@ -8,4 +8,4 @@ internal enum DrawingPropertyMetadataOptions AffectsMeasure = 1, AffectsRender = 0x10, None = 0 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffect.cs b/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffect.cs index 1ef6ea24..6a578309 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffect.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffect.cs @@ -168,4 +168,4 @@ public abstract class GeometryEffect : Freezable return false; } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffectConverter.cs b/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffectConverter.cs index 6d75e516..1d8a55f3 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffectConverter.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/GeometryEffectConverter.cs @@ -55,4 +55,4 @@ public sealed class GeometryEffectConverter : TypeConverter return null; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/GeometrySource`1.cs b/src/Shared/Microsoft.Expression.Drawing/Media/GeometrySource`1.cs index b424e658..aac84a95 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/GeometrySource`1.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/GeometrySource`1.cs @@ -84,4 +84,4 @@ public abstract class GeometrySource : IGeometrySource } protected abstract bool UpdateCachedGeometry(TParameters parameters); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/IArcGeometrySourceParameters.cs b/src/Shared/Microsoft.Expression.Drawing/Media/IArcGeometrySourceParameters.cs index c6149b07..62dac755 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/IArcGeometrySourceParameters.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/IArcGeometrySourceParameters.cs @@ -9,4 +9,4 @@ public interface IArcGeometrySourceParameters : IGeometrySourceParameters double EndAngle { get; } double StartAngle { get; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySource.cs b/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySource.cs index bea37506..ed0ceb7f 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySource.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySource.cs @@ -13,4 +13,4 @@ public interface IGeometrySource Rect LayoutBounds { get; } Rect LogicalBounds { get; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceExtensions.cs b/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceExtensions.cs index 42775a30..60645981 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceExtensions.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceExtensions.cs @@ -27,4 +27,4 @@ internal static class GeometrySourceExtensions return 0.0; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceParameters.cs b/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceParameters.cs index 4785a63f..6bcd1adf 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceParameters.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/IGeometrySourceParameters.cs @@ -9,4 +9,4 @@ public interface IGeometrySourceParameters Brush Stroke { get; } double StrokeThickness { get; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/IShape.cs b/src/Shared/Microsoft.Expression.Drawing/Media/IShape.cs index c8ba927d..fc064d45 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/IShape.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/IShape.cs @@ -21,4 +21,4 @@ public interface IShape Brush Stroke { get; set; } double StrokeThickness { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/InvalidateGeometryReasons.cs b/src/Shared/Microsoft.Expression.Drawing/Media/InvalidateGeometryReasons.cs index 7fa88117..a03cf545 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/InvalidateGeometryReasons.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/InvalidateGeometryReasons.cs @@ -10,4 +10,4 @@ public enum InvalidateGeometryReasons ParentInvalidated = 8, PropertyChanged = 1, TemplateChanged = 0x10 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/SketchGeometryEffect.cs b/src/Shared/Microsoft.Expression.Drawing/Media/SketchGeometryEffect.cs index 4b49b396..abc2ccd9 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/SketchGeometryEffect.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/SketchGeometryEffect.cs @@ -45,12 +45,12 @@ public sealed class SketchGeometryEffect : GeometryEffect { var startPoint = pathFigure.StartPoint; foreach (var iteratorVariable1 in pathFigure.AllSegments()) - foreach (var iteratorVariable2 in iteratorVariable1.PathSegment.GetSimpleSegments( - iteratorVariable1.StartPoint)) - { - yield return iteratorVariable2; - startPoint = iteratorVariable2.Points.Last(); - } + foreach (var iteratorVariable2 in iteratorVariable1.PathSegment.GetSimpleSegments( + iteratorVariable1.StartPoint)) + { + yield return iteratorVariable2; + startPoint = iteratorVariable2.Points.Last(); + } if (pathFigure.IsClosed) yield return SimpleSegment.Create(startPoint, pathFigure.StartPoint); } @@ -131,4 +131,4 @@ public sealed class SketchGeometryEffect : GeometryEffect if (flag) CachedGeometry = PathGeometryHelper.FixPathGeometryBoundary(CachedGeometry); return flag; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Media/UnitType.cs b/src/Shared/Microsoft.Expression.Drawing/Media/UnitType.cs index d397e3db..1958d5f8 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Media/UnitType.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Media/UnitType.cs @@ -4,4 +4,4 @@ public enum UnitType { Pixel, Percent -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Shapes/Arc.cs b/src/Shared/Microsoft.Expression.Drawing/Shapes/Arc.cs index a4f07f4d..8d57f22b 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Shapes/Arc.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Shapes/Arc.cs @@ -56,4 +56,4 @@ public sealed class Arc : PrimitiveShape, IArcGeometrySourceParameters { return new ArcGeometrySource(); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Drawing/Shapes/PrimitiveShape.cs b/src/Shared/Microsoft.Expression.Drawing/Shapes/PrimitiveShape.cs index 7dc6647b..9c5211ad 100644 --- a/src/Shared/Microsoft.Expression.Drawing/Shapes/PrimitiveShape.cs +++ b/src/Shared/Microsoft.Expression.Drawing/Shapes/PrimitiveShape.cs @@ -76,4 +76,4 @@ public abstract class PrimitiveShape : Shape, IGeometrySourceParameters, IShape protected override Size MeasureOverride(Size availableSize) => new(base.StrokeThickness, base.StrokeThickness); private void RealizeGeometry() => RenderedGeometryChanged?.Invoke(this, EventArgs.Empty); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/AdornerContainer.cs b/src/Shared/Microsoft.Expression.Interactions/AdornerContainer.cs index 39ccffe0..e318527d 100644 --- a/src/Shared/Microsoft.Expression.Interactions/AdornerContainer.cs +++ b/src/Shared/Microsoft.Expression.Interactions/AdornerContainer.cs @@ -42,4 +42,4 @@ public class AdornerContainer : Adorner if (index == 0 && _child != null) return _child; return base.GetVisualChild(index); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/ExceptionStringTable.cs b/src/Shared/Microsoft.Expression.Interactions/ExceptionStringTable.cs index a844a240..48b6940f 100644 --- a/src/Shared/Microsoft.Expression.Interactions/ExceptionStringTable.cs +++ b/src/Shared/Microsoft.Expression.Interactions/ExceptionStringTable.cs @@ -54,4 +54,4 @@ internal class ExceptionStringTable internal static string UnableToResolveTargetNameWarningMessage => ResourceManager.GetString(nameof(UnableToResolveTargetNameWarningMessage), Culture); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/ExtendedVisualStateManager.cs b/src/Shared/Microsoft.Expression.Interactions/ExtendedVisualStateManager.cs index 011475ae..0daa3c40 100644 --- a/src/Shared/Microsoft.Expression.Interactions/ExtendedVisualStateManager.cs +++ b/src/Shared/Microsoft.Expression.Interactions/ExtendedVisualStateManager.cs @@ -1120,4 +1120,4 @@ public class ExtendedVisualStateManager : VisualStateManager } } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehavior.cs b/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehavior.cs index 7433c05e..fa07e680 100644 --- a/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehavior.cs +++ b/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehavior.cs @@ -445,4 +445,4 @@ public sealed class FluidMoveBehavior : FluidMoveBehaviorBase data.Child = newTagData.Child; data.Timestamp = newTagData.Timestamp; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehaviorBase.cs b/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehaviorBase.cs index 95778904..37db593f 100644 --- a/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehaviorBase.cs +++ b/src/Shared/Microsoft.Expression.Interactions/FluidMoveBehaviorBase.cs @@ -192,4 +192,4 @@ public abstract class FluidMoveBehaviorBase : Behavior public DateTime Timestamp { get; set; } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/FluidMoveScope.cs b/src/Shared/Microsoft.Expression.Interactions/FluidMoveScope.cs index dee335f4..1057fff4 100644 --- a/src/Shared/Microsoft.Expression.Interactions/FluidMoveScope.cs +++ b/src/Shared/Microsoft.Expression.Interactions/FluidMoveScope.cs @@ -4,4 +4,4 @@ public enum FluidMoveScope { Self, Children -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/MouseDragElementBehavior.cs b/src/Shared/Microsoft.Expression.Interactions/MouseDragElementBehavior.cs index 216e38f8..938fbe7d 100644 --- a/src/Shared/Microsoft.Expression.Interactions/MouseDragElementBehavior.cs +++ b/src/Shared/Microsoft.Expression.Interactions/MouseDragElementBehavior.cs @@ -348,4 +348,4 @@ public class MouseDragElementBehavior : Behavior ApplyTranslation(x, y); } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/TagType.cs b/src/Shared/Microsoft.Expression.Interactions/TagType.cs index 2abb20e1..d5187c28 100644 --- a/src/Shared/Microsoft.Expression.Interactions/TagType.cs +++ b/src/Shared/Microsoft.Expression.Interactions/TagType.cs @@ -4,4 +4,4 @@ public enum TagType { Element, DataContext -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Expression.Interactions/TransitionEffect.cs b/src/Shared/Microsoft.Expression.Interactions/TransitionEffect.cs index baf128e5..6b9d3dfc 100644 --- a/src/Shared/Microsoft.Expression.Interactions/TransitionEffect.cs +++ b/src/Shared/Microsoft.Expression.Interactions/TransitionEffect.cs @@ -52,4 +52,4 @@ public abstract class TransitionEffect : ShaderEffect } protected abstract TransitionEffect DeepCopy(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpItem.cs b/src/Shared/Microsoft.Windows.Shell/JumpItem.cs index 3fea4202..7c37ab28 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpItem.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpItem.cs @@ -9,4 +9,4 @@ public abstract class JumpItem } public string CustomCategory { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpItemRejectionReason.cs b/src/Shared/Microsoft.Windows.Shell/JumpItemRejectionReason.cs index 5e7e68cc..d32f64ea 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpItemRejectionReason.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpItemRejectionReason.cs @@ -8,4 +8,4 @@ public enum JumpItemRejectionReason InvalidItem, NoRegisteredHandler, RemovedByUser -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpItemsRejectedEventArgs.cs b/src/Shared/Microsoft.Windows.Shell/JumpItemsRejectedEventArgs.cs index 88b1403c..1d0d49ba 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpItemsRejectedEventArgs.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpItemsRejectedEventArgs.cs @@ -28,4 +28,4 @@ public sealed class JumpItemsRejectedEventArgs : EventArgs public IList RejectedItems { get; private set; } public IList RejectionReasons { get; private set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpItemsRemovedEventArgs.cs b/src/Shared/Microsoft.Windows.Shell/JumpItemsRemovedEventArgs.cs index 3fe5b993..b955de6e 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpItemsRemovedEventArgs.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpItemsRemovedEventArgs.cs @@ -20,4 +20,4 @@ public sealed class JumpItemsRemovedEventArgs : EventArgs } public IList RemovedItems { get; private set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpList.cs b/src/Shared/Microsoft.Windows.Shell/JumpList.cs index c0c3d6bf..1473b0dd 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpList.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpList.cs @@ -746,4 +746,4 @@ public sealed class JumpList : ISupportInitialize } } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpPath.cs b/src/Shared/Microsoft.Windows.Shell/JumpPath.cs index 091993f8..baf0cdd2 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpPath.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpPath.cs @@ -5,4 +5,4 @@ namespace Microsoft.Windows.Shell; public class JumpPath : JumpItem { public string Path { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/JumpTask.cs b/src/Shared/Microsoft.Windows.Shell/JumpTask.cs index b7c76925..2fd432c0 100644 --- a/src/Shared/Microsoft.Windows.Shell/JumpTask.cs +++ b/src/Shared/Microsoft.Windows.Shell/JumpTask.cs @@ -17,4 +17,4 @@ public class JumpTask : JumpItem public string IconResourcePath { get; set; } public int IconResourceIndex { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/AC.cs b/src/Shared/Microsoft.Windows.Shell/Standard/AC.cs index f712742f..25a3c797 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/AC.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/AC.cs @@ -6,4 +6,4 @@ internal enum AC : byte { SRC_OVER, SRC_ALPHA -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/APPDOCLISTTYPE.cs b/src/Shared/Microsoft.Windows.Shell/Standard/APPDOCLISTTYPE.cs index 87720c45..463d78df 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/APPDOCLISTTYPE.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/APPDOCLISTTYPE.cs @@ -6,4 +6,4 @@ internal enum APPDOCLISTTYPE { ADLT_RECENT, ADLT_FREQUENT -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Assert.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Assert.cs index b2eb66c8..b6d14025 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Assert.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Assert.cs @@ -229,4 +229,4 @@ internal static class Assert public delegate void EvaluateFunction(); public delegate bool ImplicationFunction(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/BI.cs b/src/Shared/Microsoft.Windows.Shell/Standard/BI.cs index 9560f7b4..41ceb0e6 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/BI.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/BI.cs @@ -5,4 +5,4 @@ namespace Standard; internal enum BI { RGB -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFO.cs index 68abffa3..11615253 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFO.cs @@ -7,4 +7,4 @@ internal struct BITMAPINFO public BITMAPINFOHEADER bmiHeader; public RGBQUAD bmiColors; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFOHEADER.cs b/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFOHEADER.cs index 99438538..47c6b1ac 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFOHEADER.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFOHEADER.cs @@ -27,4 +27,4 @@ internal struct BITMAPINFOHEADER public int biClrUsed; public int biClrImportant; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/BLENDFUNCTION.cs b/src/Shared/Microsoft.Windows.Shell/Standard/BLENDFUNCTION.cs index dcb011c5..41cc42ae 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/BLENDFUNCTION.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/BLENDFUNCTION.cs @@ -11,4 +11,4 @@ internal struct BLENDFUNCTION public byte SourceConstantAlpha; public AC AlphaFormat; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/CHANGEFILTERSTRUCT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/CHANGEFILTERSTRUCT.cs index 3019fbe0..2aa27284 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/CHANGEFILTERSTRUCT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/CHANGEFILTERSTRUCT.cs @@ -7,4 +7,4 @@ internal struct CHANGEFILTERSTRUCT public uint cbSize; public MSGFLTINFO ExtStatus; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/CLSID.cs b/src/Shared/Microsoft.Windows.Shell/Standard/CLSID.cs index 0b362863..e5afab90 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/CLSID.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/CLSID.cs @@ -20,4 +20,4 @@ internal static class CLSID public const string ApplicationDestinations = "86c14003-4d6b-4ef3-a7b4-0506663b2e68"; public const string ApplicationDocumentLists = "86bec222-30f2-47e0-9f25-60d11cd75c28"; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/CREATESTRUCT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/CREATESTRUCT.cs index de8c9194..949b7b35 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/CREATESTRUCT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/CREATESTRUCT.cs @@ -31,4 +31,4 @@ internal struct CREATESTRUCT public string lpszClass; public WS_EX dwExStyle; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/CS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/CS.cs index 81c8863a..b308fa62 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/CS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/CS.cs @@ -18,4 +18,4 @@ internal enum CS : uint GLOBALCLASS = 16384u, IME = 65536u, DROPSHADOW = 131072u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/CombineRgnResult.cs b/src/Shared/Microsoft.Windows.Shell/Standard/CombineRgnResult.cs index 7b57389a..391feedc 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/CombineRgnResult.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/CombineRgnResult.cs @@ -8,4 +8,4 @@ internal enum CombineRgnResult NULLREGION, SIMPLEREGION, COMPLEXREGION -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DOGIF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DOGIF.cs index 4dab6fdd..bafb6cc5 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DOGIF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DOGIF.cs @@ -9,4 +9,4 @@ internal enum DOGIF NO_HDROP, NO_URL = 4, ONLY_IF_ONE = 8 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DWMFLIP3D.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DWMFLIP3D.cs index 9373ff03..98fd708c 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DWMFLIP3D.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DWMFLIP3D.cs @@ -7,4 +7,4 @@ internal enum DWMFLIP3D DEFAULT, EXCLUDEBELOW, EXCLUDEABOVE -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DWMNCRP.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DWMNCRP.cs index 4ec4f9cb..0cffcb1b 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DWMNCRP.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DWMNCRP.cs @@ -7,4 +7,4 @@ internal enum DWMNCRP USEWINDOWSTYLE, DISABLED, ENABLED -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DWMWA.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DWMWA.cs index 0cfa3a8b..173395a3 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DWMWA.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DWMWA.cs @@ -16,4 +16,4 @@ internal enum DWMWA HAS_ICONIC_BITMAP, DISALLOW_PEEK, EXCLUDED_FROM_PEEK -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DWM_SIT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DWM_SIT.cs index 94db57df..dfdc9c49 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DWM_SIT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DWM_SIT.cs @@ -6,4 +6,4 @@ internal enum DWM_SIT { None, DISPLAYFRAME -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DWM_TIMING_INFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DWM_TIMING_INFO.cs index 5c786ece..3c433fba 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DWM_TIMING_INFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DWM_TIMING_INFO.cs @@ -85,4 +85,4 @@ internal struct DWM_TIMING_INFO public ulong cPixelsDrawn; public ulong cBuffersEmpty; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DeviceCap.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DeviceCap.cs index 119a4d18..5a417c52 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DeviceCap.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DeviceCap.cs @@ -8,4 +8,4 @@ internal enum DeviceCap PLANES = 14, LOGPIXELSX = 88, LOGPIXELSY = 90 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DoubleUtilities.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DoubleUtilities.cs index a93bc00c..469d01a1 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DoubleUtilities.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DoubleUtilities.cs @@ -53,4 +53,4 @@ internal static class DoubleUtilities } private const double Epsilon = 1.53E-06; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/DpiHelper.cs b/src/Shared/Microsoft.Windows.Shell/Standard/DpiHelper.cs index 53fbb8de..eb7cdb51 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/DpiHelper.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/DpiHelper.cs @@ -66,4 +66,4 @@ internal static class DpiHelper private static Matrix _transformToDevice; private static Matrix _transformToDip; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ErrorModes.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ErrorModes.cs index 48c0948b..ea8d2f85 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ErrorModes.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ErrorModes.cs @@ -10,4 +10,4 @@ internal enum ErrorModes NoGpFaultErrorBox = 2, NoAlignmentFaultExcept = 4, NoOpenFileErrorBox = 32768 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/FO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/FO.cs index 762a3697..6eb01c74 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/FO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/FO.cs @@ -8,4 +8,4 @@ internal enum FO COPY, DELETE, RENAME -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/FOF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/FOF.cs index 75822e1c..1b61751a 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/FOF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/FOF.cs @@ -20,4 +20,4 @@ internal enum FOF : ushort NO_CONNECTED_ELEMENTS = 8192, WANTNUKEWARNING = 16384, NORECURSEREPARSE = 32768 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Facility.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Facility.cs index 8f46a422..1aada6b7 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Facility.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Facility.cs @@ -15,4 +15,4 @@ internal enum Facility Control = 10, Ese = 3678, WinCodec = 2200 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/GCLP.cs b/src/Shared/Microsoft.Windows.Shell/Standard/GCLP.cs index e42569cf..544a76fe 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/GCLP.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/GCLP.cs @@ -5,4 +5,4 @@ namespace Standard; internal enum GCLP { HBRBACKGROUND = -10 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/GPS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/GPS.cs index e3cbef16..3db64555 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/GPS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/GPS.cs @@ -14,4 +14,4 @@ internal enum GPS BESTEFFORT = 64, NO_OPLOCK = 128, MASK_VALID = 255 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/GWL.cs b/src/Shared/Microsoft.Windows.Shell/Standard/GWL.cs index 59f9dad2..4731d5e8 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/GWL.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/GWL.cs @@ -11,4 +11,4 @@ internal enum GWL EXSTYLE = -20, USERDATA = -21, ID = -12 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/HCF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/HCF.cs index 2d3fec27..4d551bec 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/HCF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/HCF.cs @@ -12,4 +12,4 @@ internal enum HCF HOTKEYSOUND = 16, INDICATOR = 32, HOTKEYAVAILABLE = 64 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/HIGHCONTRAST.cs b/src/Shared/Microsoft.Windows.Shell/Standard/HIGHCONTRAST.cs index 62a3d406..9f341333 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/HIGHCONTRAST.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/HIGHCONTRAST.cs @@ -9,4 +9,4 @@ internal struct HIGHCONTRAST public HCF dwFlags; public IntPtr lpszDefaultScheme; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/HRESULT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/HRESULT.cs index aee72456..9e704f3d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/HRESULT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/HRESULT.cs @@ -240,4 +240,4 @@ internal struct HRESULT [SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] public static readonly HRESULT WC_E_SYNTAX = new HRESULT(3222072877u); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/HT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/HT.cs index 70b14e62..13fe5298 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/HT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/HT.cs @@ -33,4 +33,4 @@ internal enum HT OBJECT = 19, CLOSE, HELP -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDestinations.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDestinations.cs index 31d1f022..42a5a612 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDestinations.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDestinations.cs @@ -13,4 +13,4 @@ internal interface IApplicationDestinations void RemoveDestination([MarshalAs(UnmanagedType.IUnknown)] object punk); void RemoveAllDestinations(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDocumentLists.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDocumentLists.cs index 3f3bfd35..715e073e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDocumentLists.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDocumentLists.cs @@ -12,4 +12,4 @@ internal interface IApplicationDocumentLists [return: MarshalAs(UnmanagedType.IUnknown)] object GetList([In] APPDOCLISTTYPE listtype, [In] uint cItemsDesired, [In] ref Guid riid); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ICustomDestinationList.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ICustomDestinationList.cs index 91d928a5..b3c18ad5 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ICustomDestinationList.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ICustomDestinationList.cs @@ -29,4 +29,4 @@ internal interface ICustomDestinationList void DeleteList([MarshalAs(UnmanagedType.LPWStr)] string pszAppID); void AbortList(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IEnumIDList.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IEnumIDList.cs index 69f7bcb3..bdb51bf8 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IEnumIDList.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IEnumIDList.cs @@ -17,4 +17,4 @@ internal interface IEnumIDList void Reset(); void Clone([MarshalAs(UnmanagedType.Interface)] out IEnumIDList ppenum); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IEnumObjects.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IEnumObjects.cs index 2821d169..bd6138b3 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IEnumObjects.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IEnumObjects.cs @@ -15,4 +15,4 @@ internal interface IEnumObjects void Reset(); IEnumObjects Clone(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IID.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IID.cs index 78374c1e..50c57a47 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IID.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IID.cs @@ -51,4 +51,4 @@ internal static class IID public const string TaskbarList3 = "ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf"; public const string TaskbarList4 = "c43dc798-95d1-4bea-9030-bb99e2983a1a"; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/INPUT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/INPUT.cs index 1e0e7fba..06109c02 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/INPUT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/INPUT.cs @@ -7,4 +7,4 @@ internal struct INPUT public uint type; public MOUSEINPUT mi; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/INPUT_TYPE.cs b/src/Shared/Microsoft.Windows.Shell/Standard/INPUT_TYPE.cs index bc32819b..2467ef3b 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/INPUT_TYPE.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/INPUT_TYPE.cs @@ -5,4 +5,4 @@ namespace Standard; internal enum INPUT_TYPE : uint { MOUSE -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectArray.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectArray.cs index 935ce552..ab80b075 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectArray.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectArray.cs @@ -12,4 +12,4 @@ internal interface IObjectArray [return: MarshalAs(UnmanagedType.IUnknown)] object GetAt([In] uint uiIndex, [In] ref Guid riid); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectCollection.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectCollection.cs index 8c07951e..4d00e499 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectCollection.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectCollection.cs @@ -20,4 +20,4 @@ internal interface IObjectCollection : IObjectArray void RemoveObjectAt(uint uiIndex); void Clear(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithAppUserModelId.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithAppUserModelId.cs index 0387fa72..3374631b 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithAppUserModelId.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithAppUserModelId.cs @@ -12,4 +12,4 @@ internal interface IObjectWithAppUserModelId [return: MarshalAs(UnmanagedType.LPWStr)] string GetAppID(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithProgId.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithProgId.cs index bf94e01a..6f890e0d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithProgId.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithProgId.cs @@ -12,4 +12,4 @@ internal interface IObjectWithProgId [return: MarshalAs(UnmanagedType.LPWStr)] string GetProgID(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IPropertyStore.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IPropertyStore.cs index e6e1afc3..7829a9bb 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IPropertyStore.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IPropertyStore.cs @@ -17,4 +17,4 @@ internal interface IPropertyStore void SetValue([In] ref PKEY pkey, PROPVARIANT pv); void Commit(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IShellFolder.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IShellFolder.cs index e9ff5d04..34eac197 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IShellFolder.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IShellFolder.cs @@ -33,4 +33,4 @@ internal interface IShellFolder void GetDisplayNameOf([In] IntPtr pidl, [In] SHGDN uFlags, out IntPtr pName); void SetNameOf([In] IntPtr hwnd, [In] IntPtr pidl, [MarshalAs(UnmanagedType.LPWStr)][In] string pszName, [In] SHGDN uFlags, out IntPtr ppidlOut); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem.cs index 9918ac66..cc9e85c0 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem.cs @@ -20,4 +20,4 @@ internal interface IShellItem SFGAO GetAttributes(SFGAO sfgaoMask); int Compare(IShellItem psi, SICHINT hint); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem2.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem2.cs index 9a809623..69977f12 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem2.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IShellItem2.cs @@ -52,4 +52,4 @@ internal interface IShellItem2 : IShellItem [return: MarshalAs(UnmanagedType.Bool)] void GetBool(IntPtr key); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IShellItemArray.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IShellItemArray.cs index 00bee5c4..95da1791 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IShellItemArray.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IShellItemArray.cs @@ -26,4 +26,4 @@ internal interface IShellItemArray [return: MarshalAs(UnmanagedType.Interface)] object EnumItems(); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/IShellLinkW.cs b/src/Shared/Microsoft.Windows.Shell/Standard/IShellLinkW.cs index 2769321d..5455fd79 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/IShellLinkW.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/IShellLinkW.cs @@ -44,4 +44,4 @@ internal interface IShellLinkW void Resolve(IntPtr hwnd, uint fFlags); void SetPath([MarshalAs(UnmanagedType.LPWStr)] string pszFile); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList.cs index 3591e9d3..80468ed3 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList.cs @@ -17,4 +17,4 @@ internal interface ITaskbarList void ActivateTab(IntPtr hwnd); void SetActiveAlt(IntPtr hwnd); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList2.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList2.cs index d1e3dce8..a27a4fa9 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList2.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList2.cs @@ -19,4 +19,4 @@ internal interface ITaskbarList2 : ITaskbarList void SetActiveAlt(IntPtr hwnd); void MarkFullscreenWindow(IntPtr hwnd, [MarshalAs(UnmanagedType.Bool)] bool fFullscreen); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList3.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList3.cs index 4e310e21..0353a5dc 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList3.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList3.cs @@ -55,4 +55,4 @@ internal interface ITaskbarList3 : ITaskbarList2, ITaskbarList [PreserveSig] HRESULT SetThumbnailClip(IntPtr hwnd, RefRECT prcClip); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList4.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList4.cs index 6f76e491..c40c2b22 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList4.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList4.cs @@ -57,4 +57,4 @@ internal interface ITaskbarList4 : ITaskbarList3, ITaskbarList2, ITaskbarList HRESULT SetThumbnailClip(IntPtr hwnd, RefRECT prcClip); void SetTabProperties(IntPtr hwndTab, STPF stpFlags); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/KDC.cs b/src/Shared/Microsoft.Windows.Shell/Standard/KDC.cs index 30f3f414..49b3198e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/KDC.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/KDC.cs @@ -6,4 +6,4 @@ internal enum KDC { FREQUENT = 1, RECENT -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/LOGFONT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/LOGFONT.cs index 85f32190..4adfa95e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/LOGFONT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/LOGFONT.cs @@ -34,4 +34,4 @@ internal struct LOGFONT [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] public string lfFaceName; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MARGINS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MARGINS.cs index fac3517f..8e8e5c0e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MARGINS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MARGINS.cs @@ -11,4 +11,4 @@ internal struct MARGINS public int cyTopHeight; public int cyBottomHeight; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MF.cs index 89d27162..db2715f9 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MF.cs @@ -10,4 +10,4 @@ internal enum MF : uint BYCOMMAND = 0u, GRAYED = 1u, DISABLED = 2u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MINMAXINFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MINMAXINFO.cs index 959331ae..29b1295c 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MINMAXINFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MINMAXINFO.cs @@ -13,4 +13,4 @@ internal struct MINMAXINFO public POINT ptMinTrackSize; public POINT ptMaxTrackSize; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MONITORINFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MONITORINFO.cs index 46ee848d..dc7744b7 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MONITORINFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MONITORINFO.cs @@ -13,4 +13,4 @@ internal class MONITORINFO public RECT rcWork; public int dwFlags; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEEVENTF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEEVENTF.cs index c260b194..15157e7a 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEEVENTF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEEVENTF.cs @@ -6,4 +6,4 @@ internal enum MOUSEEVENTF { LEFTDOWN = 2, LEFTUP = 4 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEINPUT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEINPUT.cs index f01eca97..9dff1f7e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEINPUT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MOUSEINPUT.cs @@ -15,4 +15,4 @@ internal struct MOUSEINPUT public int time; public IntPtr dwExtraInfo; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLT.cs index 1fd0d017..2cdddcda 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLT.cs @@ -7,4 +7,4 @@ internal enum MSGFLT RESET, ALLOW, DISALLOW -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLTINFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLTINFO.cs index e529a16e..6717ff0f 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLTINFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MSGFLTINFO.cs @@ -8,4 +8,4 @@ internal enum MSGFLTINFO ALREADYALLOWED_FORWND, ALREADYDISALLOWED_FORWND, ALLOWED_HIGHER -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ManagedIStream.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ManagedIStream.cs index 4862d669..dc6a80f7 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ManagedIStream.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ManagedIStream.cs @@ -146,4 +146,4 @@ internal sealed class ManagedIStream : IStream, IDisposable private const int LOCK_EXCLUSIVE = 2; private Stream _source; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MessageHandler.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MessageHandler.cs index e22b3edb..9feac278 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MessageHandler.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MessageHandler.cs @@ -2,4 +2,4 @@ namespace Standard; -internal delegate IntPtr MessageHandler(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled); \ No newline at end of file +internal delegate IntPtr MessageHandler(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled); diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/MessageWindow.cs b/src/Shared/Microsoft.Windows.Shell/Standard/MessageWindow.cs index f0290827..6557c659 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/MessageWindow.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/MessageWindow.cs @@ -128,4 +128,4 @@ internal sealed class MessageWindow : DispatcherObject, IDisposable private string _className; private bool _isDisposed; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/NIF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/NIF.cs index b4a007ff..ba09007d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/NIF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/NIF.cs @@ -15,4 +15,4 @@ internal enum NIF : uint SHOWTIP = 128u, XP_MASK = 59u, VISTA_MASK = 251u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/NIIF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/NIIF.cs index 0707e86f..b95e744d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/NIIF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/NIIF.cs @@ -13,4 +13,4 @@ internal enum NIIF LARGE_ICON = 32, NIIF_RESPECT_QUIET_TIME = 128, XP_ICON_MASK = 15 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/NIM.cs b/src/Shared/Microsoft.Windows.Shell/Standard/NIM.cs index 7f4e820c..8c7d6e39 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/NIM.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/NIM.cs @@ -9,4 +9,4 @@ internal enum NIM : uint DELETE, SETFOCUS, SETVERSION -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/NONCLIENTMETRICS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/NONCLIENTMETRICS.cs index d0004706..f0577b1e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/NONCLIENTMETRICS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/NONCLIENTMETRICS.cs @@ -61,4 +61,4 @@ internal struct NONCLIENTMETRICS public LOGFONT lfMessageFont; public int iPaddedBorderWidth; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/NOTIFYICONDATA.cs b/src/Shared/Microsoft.Windows.Shell/Standard/NOTIFYICONDATA.cs index feb7987c..73f4b2e5 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/NOTIFYICONDATA.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/NOTIFYICONDATA.cs @@ -40,4 +40,4 @@ internal class NOTIFYICONDATA public Guid guidItem; private IntPtr hBalloonIcon; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/NativeMethods.cs b/src/Shared/Microsoft.Windows.Shell/Standard/NativeMethods.cs index f5b2483e..dc90e3a0 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/NativeMethods.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/NativeMethods.cs @@ -904,4 +904,4 @@ internal static class NativeMethods [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] [DllImport("shell32.dll")] public static extern HRESULT GetCurrentProcessExplicitAppUserModelID([MarshalAs(UnmanagedType.LPWStr)] out string AppID); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDEXECOPT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDEXECOPT.cs index dddd7060..e57da5aa 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDEXECOPT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDEXECOPT.cs @@ -8,4 +8,4 @@ internal enum OLECMDEXECOPT PROMPTUSER, DONTPROMPTUSER, SHOWHELP -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDF.cs index 126c6106..83cb5e7c 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDF.cs @@ -10,4 +10,4 @@ internal enum OLECMDF NINCHED = 8, INVISIBLE = 16, DEFHIDEONCTXTMENU = 32 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDID.cs b/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDID.cs index 93bb23b3..5601b98f 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDID.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/OLECMDID.cs @@ -61,4 +61,4 @@ internal enum OLECMDID FOCUSVIEWCONTROLS, FOCUSVIEWCONTROLSQUERY, SHOWPAGEACTIONMENU -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/PKEY.cs b/src/Shared/Microsoft.Windows.Shell/Standard/PKEY.cs index 9a3a5d90..addf0a27 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/PKEY.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/PKEY.cs @@ -27,4 +27,4 @@ internal struct PKEY public static readonly PKEY AppUserModel_RelaunchDisplayNameResource = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 4u); public static readonly PKEY AppUserModel_RelaunchIconResource = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 3u); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/POINT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/POINT.cs index 0f8e7c21..ab188dc2 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/POINT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/POINT.cs @@ -7,4 +7,4 @@ internal struct POINT public int x; public int y; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/PROPVARIANT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/PROPVARIANT.cs index f7651147..a9b99a06 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/PROPVARIANT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/PROPVARIANT.cs @@ -90,4 +90,4 @@ internal class PROPVARIANT : IDisposable [DllImport("ole32.dll")] internal static extern HRESULT PropVariantClear(PROPVARIANT pvar); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/READYSTATE.cs b/src/Shared/Microsoft.Windows.Shell/Standard/READYSTATE.cs index e321cf94..42d479c3 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/READYSTATE.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/READYSTATE.cs @@ -9,4 +9,4 @@ internal enum READYSTATE LOADED, INTERACTIVE, COMPLETE -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/RECT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/RECT.cs index 8b7d5063..81cd963f 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/RECT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/RECT.cs @@ -148,4 +148,4 @@ internal struct RECT private int _right; private int _bottom; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/RGBQUAD.cs b/src/Shared/Microsoft.Windows.Shell/Standard/RGBQUAD.cs index a1b6a0d8..854ed1e1 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/RGBQUAD.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/RGBQUAD.cs @@ -11,4 +11,4 @@ internal struct RGBQUAD public byte rgbRed; public byte rgbReserved; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/RGN.cs b/src/Shared/Microsoft.Windows.Shell/Standard/RGN.cs index 2c111dee..8eeb0ba5 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/RGN.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/RGN.cs @@ -9,4 +9,4 @@ internal enum RGN XOR, DIFF, COPY -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/RefPOINT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/RefPOINT.cs index ab5583c9..7820b043 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/RefPOINT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/RefPOINT.cs @@ -11,4 +11,4 @@ internal class RefPOINT public int x; public int y; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/RefRECT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/RefRECT.cs index 90798337..e2001dac 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/RefRECT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/RefRECT.cs @@ -103,4 +103,4 @@ internal class RefRECT private int _right; private int _bottom; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SC.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SC.cs index f6cf7de7..77f7e545 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SC.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SC.cs @@ -27,4 +27,4 @@ internal enum SC F_ISSECURE = 1, ICON = 61472, ZOOM = 61488 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SFGAO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SFGAO.cs index 75dda830..d3e905db 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SFGAO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SFGAO.cs @@ -39,4 +39,4 @@ internal enum SFGAO : uint STORAGEANCESTOR = 8388608u, STORAGECAPMASK = 1891958792u, PKEYSFGAOMASK = 2164539392u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHARD.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHARD.cs index 068d0565..327fac1c 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHARD.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHARD.cs @@ -11,4 +11,4 @@ internal enum SHARD APPIDINFOIDLIST, LINK, APPIDINFOLINK -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFO.cs index 543d7d04..f270780a 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFO.cs @@ -13,4 +13,4 @@ internal class SHARDAPPIDINFO [MarshalAs(UnmanagedType.LPWStr)] private string pszAppID; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOIDLIST.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOIDLIST.cs index 220201a9..45cf318f 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOIDLIST.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOIDLIST.cs @@ -12,4 +12,4 @@ internal class SHARDAPPIDINFOIDLIST [MarshalAs(UnmanagedType.LPWStr)] private string pszAppID; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOLINK.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOLINK.cs index 01c49d7a..5f9e1935 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOLINK.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOLINK.cs @@ -12,4 +12,4 @@ internal class SHARDAPPIDINFOLINK [MarshalAs(UnmanagedType.LPWStr)] private string pszAppID; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHCONTF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHCONTF.cs index db7e414e..7a8052b2 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHCONTF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHCONTF.cs @@ -16,4 +16,4 @@ internal enum SHCONTF FASTITEMS = 8192, FLATLIST = 16384, ENABLE_ASYNC = 32768 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHFILEOPSTRUCT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHFILEOPSTRUCT.cs index af7a9b3d..d7d97964 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHFILEOPSTRUCT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHFILEOPSTRUCT.cs @@ -24,4 +24,4 @@ internal struct SHFILEOPSTRUCT public IntPtr hNameMappings; public string lpszProgressTitle; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SHGDN.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SHGDN.cs index 656e6a1e..885fcedf 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SHGDN.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SHGDN.cs @@ -10,4 +10,4 @@ internal enum SHGDN SHGDN_FOREDITING = 4096, SHGDN_FORADDRESSBAR = 16384, SHGDN_FORPARSING = 32768 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SIATTRIBFLAGS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SIATTRIBFLAGS.cs index e723e33e..4305a9ef 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SIATTRIBFLAGS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SIATTRIBFLAGS.cs @@ -7,4 +7,4 @@ internal enum SIATTRIBFLAGS AND = 1, OR, APPCOMPAT -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SICHINT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SICHINT.cs index d4930d49..34a38caf 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SICHINT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SICHINT.cs @@ -8,4 +8,4 @@ internal enum SICHINT : uint ALLFIELDS = 2147483648u, CANONICAL = 268435456u, TEST_FILESYSPATH_IF_NOT_EQUAL = 536870912u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SIGDN.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SIGDN.cs index 239e8ad3..6e184480 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SIGDN.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SIGDN.cs @@ -13,4 +13,4 @@ internal enum SIGDN : uint URL = 2147909632u, PARENTRELATIVEFORADDRESSBAR = 2147991553u, PARENTRELATIVE = 2148007937u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SIZE.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SIZE.cs index f81812cf..5fd5201e 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SIZE.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SIZE.cs @@ -7,4 +7,4 @@ internal struct SIZE public int cx; public int cy; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SLGP.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SLGP.cs index 011720f5..0a0e7cf5 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SLGP.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SLGP.cs @@ -8,4 +8,4 @@ internal enum SLGP SHORTPATH = 1, UNCPRIORITY = 2, RAWPATH = 4 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SM.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SM.cs index c16ec152..203ec6e8 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SM.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SM.cs @@ -88,4 +88,4 @@ internal enum SM MEDIACENTER, REMOTESESSION = 4096, REMOTECONTROL = 8193 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SPI.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SPI.cs index bb20c9bc..0251b65d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SPI.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SPI.cs @@ -219,4 +219,4 @@ internal enum SPI SETMINIMUMHITRADIUS, GETMESSAGEDURATION, SETMESSAGEDURATION -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SPIF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SPIF.cs index 8bf40ed4..3f2dcbd8 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SPIF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SPIF.cs @@ -9,4 +9,4 @@ internal enum SPIF UPDATEINIFILE = 1, SENDCHANGE = 2, SENDWININICHANGE = 2 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/STATE_SYSTEM.cs b/src/Shared/Microsoft.Windows.Shell/Standard/STATE_SYSTEM.cs index d2b2e62b..d9af9062 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/STATE_SYSTEM.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/STATE_SYSTEM.cs @@ -37,4 +37,4 @@ internal enum STATE_SYSTEM ALERT_HIGH = 268435456, PROTECTED = 536870912, VALID = 1073741823 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/STPF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/STPF.cs index 4fa14c46..6f0275f3 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/STPF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/STPF.cs @@ -10,4 +10,4 @@ internal enum STPF USEAPPTHUMBNAILWHENACTIVE = 2, USEAPPPEEKALWAYS = 4, USEAPPPEEKWHENACTIVE = 8 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/STR_GPS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/STR_GPS.cs index b96c486d..5ee159fd 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/STR_GPS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/STR_GPS.cs @@ -15,4 +15,4 @@ internal static class STR_GPS public const string BESTEFFORT = "GPS_BESTEFFORT"; public const string NO_OPLOCK = "GPS_NO_OPLOCK"; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SW.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SW.cs index d2ec25b2..3713485d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SW.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SW.cs @@ -18,4 +18,4 @@ internal enum SW RESTORE, SHOWDEFAULT, FORCEMINIMIZE -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SWP.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SWP.cs index 3ee5d4d6..0b3db4af 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SWP.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SWP.cs @@ -20,4 +20,4 @@ internal enum SWP NOSIZE = 1, NOZORDER = 4, SHOWWINDOW = 64 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs index 049192ac..858fe98d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs @@ -72,4 +72,4 @@ internal sealed class SafeConnectionPointCookie : SafeHandleZeroOrMinusOneIsInva } private IConnectionPoint _cp; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SafeDC.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SafeDC.cs index 6b749d8d..27e35589 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SafeDC.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SafeDC.cs @@ -152,4 +152,4 @@ internal sealed class SafeDC : SafeHandleZeroOrMinusOneIsInvalid [return: MarshalAs(UnmanagedType.Bool)] public static extern bool DeleteDC(IntPtr hdc); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SafeFindHandle.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SafeFindHandle.cs index 97ed656b..50b5d80c 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SafeFindHandle.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SafeFindHandle.cs @@ -15,4 +15,4 @@ internal sealed class SafeFindHandle : SafeHandleZeroOrMinusOneIsInvalid { return NativeMethods.FindClose(this.handle); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SafeGdiplusStartupToken.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SafeGdiplusStartupToken.cs index 5c4e94d8..1a2c18ba 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SafeGdiplusStartupToken.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SafeGdiplusStartupToken.cs @@ -34,4 +34,4 @@ internal sealed class SafeGdiplusStartupToken : SafeHandleZeroOrMinusOneIsInvali safeGdiplusStartupToken.Dispose(); throw new Exception("Unable to initialize GDI+"); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/SafeHBITMAP.cs b/src/Shared/Microsoft.Windows.Shell/Standard/SafeHBITMAP.cs index 321ef567..8e76d635 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/SafeHBITMAP.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/SafeHBITMAP.cs @@ -15,4 +15,4 @@ internal sealed class SafeHBITMAP : SafeHandleZeroOrMinusOneIsInvalid { return NativeMethods.DeleteObject(this.handle); } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/StartupInput.cs b/src/Shared/Microsoft.Windows.Shell/Standard/StartupInput.cs index af682487..21b3e2d5 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/StartupInput.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/StartupInput.cs @@ -13,4 +13,4 @@ internal class StartupInput public bool SuppressBackgroundThread; public bool SuppressExternalCodecs; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/StartupOutput.cs b/src/Shared/Microsoft.Windows.Shell/Standard/StartupOutput.cs index 71a22bd6..0cbc2fe3 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/StartupOutput.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/StartupOutput.cs @@ -7,4 +7,4 @@ internal struct StartupOutput public IntPtr hook; public IntPtr unhook; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Status.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Status.cs index 31aeea8c..b2465910 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Status.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Status.cs @@ -26,4 +26,4 @@ internal enum Status PropertyNotFound, PropertyNotSupported, ProfileNotFound -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/StockObject.cs b/src/Shared/Microsoft.Windows.Shell/Standard/StockObject.cs index eb1c9758..174e3f9c 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/StockObject.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/StockObject.cs @@ -16,4 +16,4 @@ internal enum StockObject NULL_PEN, SYSTEM_FONT = 13, DEFAULT_PALETTE = 15 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/TBPF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/TBPF.cs index b883c541..4d64bc9b 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/TBPF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/TBPF.cs @@ -9,4 +9,4 @@ internal enum TBPF NORMAL, ERROR = 4, PAUSED = 8 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/THB.cs b/src/Shared/Microsoft.Windows.Shell/Standard/THB.cs index 0032f165..6b229e2d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/THB.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/THB.cs @@ -9,4 +9,4 @@ internal enum THB : uint ICON = 2u, TOOLTIP = 4u, FLAGS = 8u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/THBF.cs b/src/Shared/Microsoft.Windows.Shell/Standard/THBF.cs index 79650ff3..6b8603e1 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/THBF.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/THBF.cs @@ -11,4 +11,4 @@ internal enum THBF : uint NOBACKGROUND = 4u, HIDDEN = 8u, NONINTERACTIVE = 16u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/THUMBBUTTON.cs b/src/Shared/Microsoft.Windows.Shell/Standard/THUMBBUTTON.cs index 3d89a0d8..1e70d17d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/THUMBBUTTON.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/THUMBBUTTON.cs @@ -20,4 +20,4 @@ internal struct THUMBBUTTON public string szTip; public THBF dwFlags; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFO.cs index e988de22..3934e41a 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFO.cs @@ -19,4 +19,4 @@ internal struct TITLEBARINFO public STATE_SYSTEM rgstate_HelpButton; public STATE_SYSTEM rgstate_CloseButton; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFOEX.cs b/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFOEX.cs index 8642baf3..ced0cda7 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFOEX.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFOEX.cs @@ -31,4 +31,4 @@ internal struct TITLEBARINFOEX public RECT rgrect_HelpButton; public RECT rgrect_CloseButton; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/ULW.cs b/src/Shared/Microsoft.Windows.Shell/Standard/ULW.cs index 90440b38..aaecb9e6 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/ULW.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/ULW.cs @@ -7,4 +7,4 @@ internal enum ULW ALPHA = 2, COLORKEY = 1, OPAQUE = 4 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/UNSIGNED_RATIO.cs b/src/Shared/Microsoft.Windows.Shell/Standard/UNSIGNED_RATIO.cs index 2a688bdb..02cbacc4 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/UNSIGNED_RATIO.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/UNSIGNED_RATIO.cs @@ -7,4 +7,4 @@ internal struct UNSIGNED_RATIO public uint uiNumerator; public uint uiDenominator; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Utility.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Utility.cs index 4b2973e9..56e0bc7f 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Utility.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Utility.cs @@ -603,7 +603,7 @@ internal static class Utility urlDecoder.AddChar(c); } } - IL_12D:; +IL_12D:; } return urlDecoder.GetString(); } @@ -818,4 +818,4 @@ internal static class Utility private int _charCount; } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Verify.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Verify.cs index 72f71991..c931bf61 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Verify.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Verify.cs @@ -242,4 +242,4 @@ internal static class Verify }), parameterName); } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WIN32_FIND_DATAW.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WIN32_FIND_DATAW.cs index fc5d929f..97184131 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WIN32_FIND_DATAW.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WIN32_FIND_DATAW.cs @@ -32,4 +32,4 @@ internal class WIN32_FIND_DATAW [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 14)] public string cAlternateFileName; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPLACEMENT.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPLACEMENT.cs index 30535838..8e8b5f3f 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPLACEMENT.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPLACEMENT.cs @@ -17,4 +17,4 @@ internal class WINDOWPLACEMENT public POINT ptMaxPosition; public RECT rcNormalPosition; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPOS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPOS.cs index d241ee73..5821c4b8 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPOS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPOS.cs @@ -17,4 +17,4 @@ internal struct WINDOWPOS public int cy; public int flags; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWTHEMEATTRIBUTETYPE.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWTHEMEATTRIBUTETYPE.cs index 7c1ab86f..8be67504 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWTHEMEATTRIBUTETYPE.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WINDOWTHEMEATTRIBUTETYPE.cs @@ -5,4 +5,4 @@ namespace Standard; internal enum WINDOWTHEMEATTRIBUTETYPE : uint { WTA_NONCLIENT = 1u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WM.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WM.cs index 4fce4f0e..633b9215 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WM.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WM.cs @@ -135,4 +135,4 @@ internal enum WM USER = 1024, TRAYMOUSEMESSAGE = 2048, APP = 32768 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs index bdc23d9a..1c53d37b 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs @@ -31,4 +31,4 @@ internal struct WNDCLASSEX public string lpszClassName; public IntPtr hIconSm; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WS.cs index 13e0860c..72df4221 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WS.cs @@ -32,4 +32,4 @@ internal enum WS : uint OVERLAPPEDWINDOW = 13565952u, POPUPWINDOW = 2156396544u, CHILDWINDOW = 1073741824u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WS_EX.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WS_EX.cs index da272cc1..4425aa02 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WS_EX.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WS_EX.cs @@ -32,4 +32,4 @@ internal enum WS_EX : uint NOACTIVATE = 134217728u, OVERLAPPEDWINDOW = 768u, PALETTEWINDOW = 392u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WTA_OPTIONS.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WTA_OPTIONS.cs index 8ab10a08..fe8cd997 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WTA_OPTIONS.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WTA_OPTIONS.cs @@ -16,4 +16,4 @@ internal struct WTA_OPTIONS [SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Justification = "Used by native code.")] [FieldOffset(4)] public WTNCA dwMask; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WTNCA.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WTNCA.cs index 4ff6d577..a96acb80 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WTNCA.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WTNCA.cs @@ -10,4 +10,4 @@ internal enum WTNCA : uint NOSYSMENU = 4u, NOMIRRORHELP = 8u, VALIDBITS = 15u -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WVR.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WVR.cs index b0e43174..ea61f4e9 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WVR.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WVR.cs @@ -12,4 +12,4 @@ internal enum WVR VREDRAW = 512, VALIDRECTS = 1024, REDRAW = 768 -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Win32Error.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Win32Error.cs index 35ad7b46..00dea5ba 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Win32Error.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Win32Error.cs @@ -123,4 +123,4 @@ internal struct Win32Error [SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] public static readonly Win32Error ERROR_INVALID_DATATYPE = new Win32Error(1804); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/Win32Value.cs b/src/Shared/Microsoft.Windows.Shell/Standard/Win32Value.cs index d434c256..594b7e5d 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/Win32Value.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/Win32Value.cs @@ -17,4 +17,4 @@ internal static class Win32Value public const uint sizeof_CHAR = 1u; public const uint sizeof_BOOL = 4u; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WndProc.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WndProc.cs index bb9c6339..6cbe6e48 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WndProc.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WndProc.cs @@ -2,4 +2,4 @@ namespace Standard; -internal delegate IntPtr WndProc(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam); \ No newline at end of file +internal delegate IntPtr WndProc(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam); diff --git a/src/Shared/Microsoft.Windows.Shell/Standard/WndProcHook.cs b/src/Shared/Microsoft.Windows.Shell/Standard/WndProcHook.cs index 0126491e..4e772ede 100644 --- a/src/Shared/Microsoft.Windows.Shell/Standard/WndProcHook.cs +++ b/src/Shared/Microsoft.Windows.Shell/Standard/WndProcHook.cs @@ -2,4 +2,4 @@ namespace Standard; -internal delegate IntPtr WndProcHook(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam, ref bool handled); \ No newline at end of file +internal delegate IntPtr WndProcHook(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam, ref bool handled); diff --git a/src/Shared/Microsoft.Windows.Shell/SystemCommands.cs b/src/Shared/Microsoft.Windows.Shell/SystemCommands.cs index f9d94099..66b17eb8 100644 --- a/src/Shared/Microsoft.Windows.Shell/SystemCommands.cs +++ b/src/Shared/Microsoft.Windows.Shell/SystemCommands.cs @@ -73,4 +73,4 @@ public static class SystemCommands NativeMethods.PostMessage(handle, WM.SYSCOMMAND, new IntPtr((long) ((ulong) num)), IntPtr.Zero); } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/SystemParameters2.cs b/src/Shared/Microsoft.Windows.Shell/SystemParameters2.cs index ac8c643f..0fca0611 100644 --- a/src/Shared/Microsoft.Windows.Shell/SystemParameters2.cs +++ b/src/Shared/Microsoft.Windows.Shell/SystemParameters2.cs @@ -201,7 +201,7 @@ public class SystemParameters2 : INotifyPropertyChanged } } windowCornerRadius = new CornerRadius(0.0); - IL_E6: +IL_E6: this.WindowCornerRadius = windowCornerRadius; } @@ -539,4 +539,4 @@ public class SystemParameters2 : INotifyPropertyChanged private readonly Dictionary> _UpdateTable; private delegate void _SystemMetricUpdate(IntPtr wParam, IntPtr lParam); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/TaskbarItemInfo.cs b/src/Shared/Microsoft.Windows.Shell/TaskbarItemInfo.cs index 5d7bfbc6..7908d67d 100644 --- a/src/Shared/Microsoft.Windows.Shell/TaskbarItemInfo.cs +++ b/src/Shared/Microsoft.Windows.Shell/TaskbarItemInfo.cs @@ -506,7 +506,7 @@ public sealed class TaskbarItemInfo : Freezable default: goto IL_A5; } - IL_146: +IL_146: array[(int) ((UIntPtr) num)] = thumbbutton; num += 1u; if (num != 7u) @@ -514,7 +514,7 @@ public sealed class TaskbarItemInfo : Freezable continue; } break; - IL_A5: +IL_A5: thumbbutton.szTip = (thumbButtonInfo.Description ?? ""); thumbbutton.hIcon = this._GetHICONFromImageSource(thumbButtonInfo.ImageSource, this._overlaySize); if (!thumbButtonInfo.IsBackgroundVisible) @@ -542,7 +542,7 @@ public sealed class TaskbarItemInfo : Freezable } goto IL_1AE; } - IL_179: +IL_179: array[(int) ((UIntPtr) num)] = new THUMBBUTTON { iId = num, @@ -550,7 +550,7 @@ public sealed class TaskbarItemInfo : Freezable dwMask = (THB.ICON | THB.TOOLTIP | THB.FLAGS) }; num += 1u; - IL_1AE: +IL_1AE: if (num < 7u) { goto IL_179; @@ -623,4 +623,4 @@ public sealed class TaskbarItemInfo : Freezable { ((TaskbarItemInfo) d)._OnThumbButtonsChanged(); })); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/TaskbarItemProgressState.cs b/src/Shared/Microsoft.Windows.Shell/TaskbarItemProgressState.cs index 212f24d0..5f6b92ce 100644 --- a/src/Shared/Microsoft.Windows.Shell/TaskbarItemProgressState.cs +++ b/src/Shared/Microsoft.Windows.Shell/TaskbarItemProgressState.cs @@ -9,4 +9,4 @@ public enum TaskbarItemProgressState Normal, Error, Paused -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfo.cs b/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfo.cs index 717c8ace..c38a36a0 100644 --- a/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfo.cs +++ b/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfo.cs @@ -285,4 +285,4 @@ public sealed class ThumbButtonInfo : Freezable, ICommandSource { d.CoerceValue(ThumbButtonInfo.IsEnabledProperty); })); -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfoCollection.cs b/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfoCollection.cs index b7391907..54b86f8f 100644 --- a/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfoCollection.cs +++ b/src/Shared/Microsoft.Windows.Shell/ThumbButtonInfoCollection.cs @@ -25,4 +25,4 @@ public class ThumbButtonInfoCollection : FreezableCollection } private static ThumbButtonInfoCollection s_empty; -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/WindowChrome.cs b/src/Shared/Microsoft.Windows.Shell/WindowChrome.cs index 26ce6a25..fd95654a 100644 --- a/src/Shared/Microsoft.Windows.Shell/WindowChrome.cs +++ b/src/Shared/Microsoft.Windows.Shell/WindowChrome.cs @@ -215,4 +215,4 @@ public class WindowChrome : Freezable public DependencyProperty DependencyProperty { get; set; } } -} \ No newline at end of file +} diff --git a/src/Shared/Microsoft.Windows.Shell/WindowChromeWorker.cs b/src/Shared/Microsoft.Windows.Shell/WindowChromeWorker.cs index 5112c6c9..20129f73 100644 --- a/src/Shared/Microsoft.Windows.Shell/WindowChromeWorker.cs +++ b/src/Shared/Microsoft.Windows.Shell/WindowChromeWorker.cs @@ -809,4 +809,4 @@ internal class WindowChromeWorker : DependencyObject private static readonly HT[,] _HitTestBorders; private delegate void _Action(); -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/AttachableCollection`1.cs b/src/Shared/System.Windows.Interactivity/AttachableCollection`1.cs index 2566b7d8..fdbcf9f8 100644 --- a/src/Shared/System.Windows.Interactivity/AttachableCollection`1.cs +++ b/src/Shared/System.Windows.Interactivity/AttachableCollection`1.cs @@ -164,4 +164,4 @@ public abstract class AttachableCollection : FreezableCollection, IAttache } } } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/Behavior.cs b/src/Shared/System.Windows.Interactivity/Behavior.cs index fc343e35..a3873aeb 100644 --- a/src/Shared/System.Windows.Interactivity/Behavior.cs +++ b/src/Shared/System.Windows.Interactivity/Behavior.cs @@ -83,4 +83,4 @@ public abstract class Behavior : Animatable, IAttachedObject protected virtual void OnDetaching() { } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/BehaviorCollection.cs b/src/Shared/System.Windows.Interactivity/BehaviorCollection.cs index 9f016540..cbb1595e 100644 --- a/src/Shared/System.Windows.Interactivity/BehaviorCollection.cs +++ b/src/Shared/System.Windows.Interactivity/BehaviorCollection.cs @@ -38,4 +38,4 @@ public sealed class BehaviorCollection : AttachableCollection { return new BehaviorCollection(); } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/Behavior`1.cs b/src/Shared/System.Windows.Interactivity/Behavior`1.cs index 647cd9b8..7922e654 100644 --- a/src/Shared/System.Windows.Interactivity/Behavior`1.cs +++ b/src/Shared/System.Windows.Interactivity/Behavior`1.cs @@ -9,4 +9,4 @@ public abstract class Behavior : Behavior where T : DependencyObject } protected new T AssociatedObject => (T) base.AssociatedObject; -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/DefaultTriggerAttribute.cs b/src/Shared/System.Windows.Interactivity/DefaultTriggerAttribute.cs index 651a5fa0..d7154637 100644 --- a/src/Shared/System.Windows.Interactivity/DefaultTriggerAttribute.cs +++ b/src/Shared/System.Windows.Interactivity/DefaultTriggerAttribute.cs @@ -45,4 +45,4 @@ public sealed class DefaultTriggerAttribute : Attribute } return (TriggerBase) obj2; } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/EventTrigger.cs b/src/Shared/System.Windows.Interactivity/EventTrigger.cs index ca988a05..9385b9d4 100644 --- a/src/Shared/System.Windows.Interactivity/EventTrigger.cs +++ b/src/Shared/System.Windows.Interactivity/EventTrigger.cs @@ -25,4 +25,4 @@ public class EventTrigger : EventTriggerBase set => SetValue(EventNameProperty, value); } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/EventTriggerBase.cs b/src/Shared/System.Windows.Interactivity/EventTriggerBase.cs index baf366d8..23b6314f 100644 --- a/src/Shared/System.Windows.Interactivity/EventTriggerBase.cs +++ b/src/Shared/System.Windows.Interactivity/EventTriggerBase.cs @@ -309,4 +309,4 @@ public abstract class EventTriggerBase : TriggerBase IsSourceChangedRegistered = false; } } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/EventTriggerBase`1.cs b/src/Shared/System.Windows.Interactivity/EventTriggerBase`1.cs index 7d3544c8..a4a30f8f 100644 --- a/src/Shared/System.Windows.Interactivity/EventTriggerBase`1.cs +++ b/src/Shared/System.Windows.Interactivity/EventTriggerBase`1.cs @@ -17,4 +17,4 @@ public abstract class EventTriggerBase : EventTriggerBase where T : class } public new T Source => (T) base.Source; -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/IAttachedObject.cs b/src/Shared/System.Windows.Interactivity/IAttachedObject.cs index 60c71b19..aa82d96c 100644 --- a/src/Shared/System.Windows.Interactivity/IAttachedObject.cs +++ b/src/Shared/System.Windows.Interactivity/IAttachedObject.cs @@ -8,4 +8,4 @@ public interface IAttachedObject void Detach(); DependencyObject AssociatedObject { get; } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/Interaction.cs b/src/Shared/System.Windows.Interactivity/Interaction.cs index b3205f3f..7b5e5d70 100644 --- a/src/Shared/System.Windows.Interactivity/Interaction.cs +++ b/src/Shared/System.Windows.Interactivity/Interaction.cs @@ -73,4 +73,4 @@ public static class Interaction { return element.IsLoaded; } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/InvokeCommandAction.cs b/src/Shared/System.Windows.Interactivity/InvokeCommandAction.cs index 7a5f79a4..1bf3cff4 100644 --- a/src/Shared/System.Windows.Interactivity/InvokeCommandAction.cs +++ b/src/Shared/System.Windows.Interactivity/InvokeCommandAction.cs @@ -68,4 +68,4 @@ public sealed class InvokeCommandAction : TriggerAction command = (ICommand) property.GetValue(AssociatedObject, null); return command; } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/NameResolvedEventArgs.cs b/src/Shared/System.Windows.Interactivity/NameResolvedEventArgs.cs index 4ce11261..0f5cf3b3 100644 --- a/src/Shared/System.Windows.Interactivity/NameResolvedEventArgs.cs +++ b/src/Shared/System.Windows.Interactivity/NameResolvedEventArgs.cs @@ -13,4 +13,4 @@ internal sealed class NameResolvedEventArgs : EventArgs public object NewObject { get; } public object OldObject { get; } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/NameResolver.cs b/src/Shared/System.Windows.Interactivity/NameResolver.cs index c3ff049c..e16839aa 100644 --- a/src/Shared/System.Windows.Interactivity/NameResolver.cs +++ b/src/Shared/System.Windows.Interactivity/NameResolver.cs @@ -120,4 +120,4 @@ internal sealed class NameResolver if (!Equals(oldObject, Object)) OnObjectChanged(oldObject, Object); } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/PreviewInvokeEventArgs.cs b/src/Shared/System.Windows.Interactivity/PreviewInvokeEventArgs.cs index 9e7fd948..edc7eaf1 100644 --- a/src/Shared/System.Windows.Interactivity/PreviewInvokeEventArgs.cs +++ b/src/Shared/System.Windows.Interactivity/PreviewInvokeEventArgs.cs @@ -5,4 +5,4 @@ namespace HandyControl.Interactivity; public class PreviewInvokeEventArgs : EventArgs { public bool Cancelling { get; set; } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/TriggerAction.cs b/src/Shared/System.Windows.Interactivity/TriggerAction.cs index de84cb51..159e6135 100644 --- a/src/Shared/System.Windows.Interactivity/TriggerAction.cs +++ b/src/Shared/System.Windows.Interactivity/TriggerAction.cs @@ -114,4 +114,4 @@ public abstract class TriggerAction : Animatable, IAttachedObject protected virtual void OnDetaching() { } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/TriggerActionCollection.cs b/src/Shared/System.Windows.Interactivity/TriggerActionCollection.cs index fc158b10..5feddd53 100644 --- a/src/Shared/System.Windows.Interactivity/TriggerActionCollection.cs +++ b/src/Shared/System.Windows.Interactivity/TriggerActionCollection.cs @@ -42,4 +42,4 @@ public class TriggerActionCollection : AttachableCollection foreach (var action in this) action.Detach(); } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/TriggerAction`1.cs b/src/Shared/System.Windows.Interactivity/TriggerAction`1.cs index e719c299..40bf5cd3 100644 --- a/src/Shared/System.Windows.Interactivity/TriggerAction`1.cs +++ b/src/Shared/System.Windows.Interactivity/TriggerAction`1.cs @@ -15,4 +15,4 @@ public abstract class TriggerAction : TriggerAction where T : DependencyObjec protected sealed override Type AssociatedObjectTypeConstraint => base.AssociatedObjectTypeConstraint; -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/TriggerBase.cs b/src/Shared/System.Windows.Interactivity/TriggerBase.cs index 08b0e2cc..5640ea50 100644 --- a/src/Shared/System.Windows.Interactivity/TriggerBase.cs +++ b/src/Shared/System.Windows.Interactivity/TriggerBase.cs @@ -106,4 +106,4 @@ public abstract class TriggerBase : Animatable, IAttachedObject protected virtual void OnDetaching() { } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/TriggerCollection.cs b/src/Shared/System.Windows.Interactivity/TriggerCollection.cs index b2dadec9..66ab89d8 100644 --- a/src/Shared/System.Windows.Interactivity/TriggerCollection.cs +++ b/src/Shared/System.Windows.Interactivity/TriggerCollection.cs @@ -38,4 +38,4 @@ public sealed class TriggerCollection : AttachableCollection { return new TriggerCollection(); } -} \ No newline at end of file +} diff --git a/src/Shared/System.Windows.Interactivity/TypeConstraintAttribute.cs b/src/Shared/System.Windows.Interactivity/TypeConstraintAttribute.cs index 2838a824..bacc9ea4 100644 --- a/src/Shared/System.Windows.Interactivity/TypeConstraintAttribute.cs +++ b/src/Shared/System.Windows.Interactivity/TypeConstraintAttribute.cs @@ -11,4 +11,4 @@ public sealed class TypeConstraintAttribute : Attribute } public Type Constraint { get; } -} \ No newline at end of file +}