Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use ControlzEx v4.0 WindowChromeBehavior and GlowWindowBehavior #3334

Merged
merged 7 commits into from
Sep 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/.paket/paket.bootstrapper.exe
Binary file not shown.
Binary file modified src/.paket/paket.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions src/MahApps.Metro.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{5FEFAEC4-5A45-480B-903A-9E0B5F5B913D}"
ProjectSection(SolutionItems) = preProject
paket.dependencies = paket.dependencies
paket.template = paket.template
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MahApps.Metro", "MahApps.Metro\MahApps.Metro.csproj", "{F6432F90-04C2-42B9-992B-CD828729976B}"
Expand All @@ -20,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
Directory.build.props = Directory.build.props
Directory.build.targets = Directory.build.targets
global.json = global.json
EndProjectSection
EndProject
Global
Expand Down
6 changes: 4 additions & 2 deletions src/MahApps.Metro/Behaviours/BorderlessWindowBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ protected override void OnAttached()
{
BindingOperations.SetBinding(this, IgnoreTaskbarOnMaximizeProperty, new Binding { Path = new PropertyPath(MetroWindow.IgnoreTaskbarOnMaximizeProperty), Source = this.AssociatedObject });
BindingOperations.SetBinding(this, ResizeBorderThicknessProperty, new Binding { Path = new PropertyPath(MetroWindow.ResizeBorderThicknessProperty), Source = this.AssociatedObject });
BindingOperations.SetBinding(this, GlowBrushProperty, new Binding { Path = new PropertyPath(MetroWindow.GlowBrushProperty), Source = this.AssociatedObject });
BindingOperations.SetBinding(this, TryToBeFlickerFreeProperty, new Binding { Path = new PropertyPath(MetroWindow.TryToBeFlickerFreeProperty), Source = this.AssociatedObject });
BindingOperations.SetBinding(this, KeepBorderOnMaximizeProperty, new Binding { Path = new PropertyPath(MetroWindow.KeepBorderOnMaximizeProperty), Source = this.AssociatedObject });

base.OnAttached();
}
Expand All @@ -21,7 +22,8 @@ protected override void OnDetaching()
{
BindingOperations.ClearBinding(this, IgnoreTaskbarOnMaximizeProperty);
BindingOperations.ClearBinding(this, ResizeBorderThicknessProperty);
BindingOperations.ClearBinding(this, GlowBrushProperty);
BindingOperations.ClearBinding(this, TryToBeFlickerFreeProperty);
BindingOperations.ClearBinding(this, KeepBorderOnMaximizeProperty);

base.OnDetaching();
}
Expand Down
277 changes: 0 additions & 277 deletions src/MahApps.Metro/Behaviours/GlowWindowBehavior.cs

This file was deleted.

50 changes: 0 additions & 50 deletions src/MahApps.Metro/Controls/Glow.cs

This file was deleted.

7 changes: 0 additions & 7 deletions src/MahApps.Metro/Controls/GlowDirection.cs

This file was deleted.

Loading