@ -1,2 +0,0 @@ |
|||||
The file Xceed.Wpf.Samples.SampleData.dll has been created from Xceed.Silverlight.Samples.SampleData.dll of the Silverlight ListBox. |
|
||||
Only the Silverlight has been changed to Wpf. |
|
||||
@ -1,62 +0,0 @@ |
|||||
/************************************************************************************* |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md
|
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
|
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
|
|
||||
|
|
||||
***********************************************************************************/ |
|
||||
|
|
||||
using System; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Text; |
|
||||
using System.Windows; |
|
||||
using System.Windows.Media; |
|
||||
|
|
||||
namespace Xceed.Wpf.AvalonDock.Themes |
|
||||
{ |
|
||||
public static class AeroColors |
|
||||
{ |
|
||||
public static readonly ComponentResourceKey BaseColor1Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor1" ); |
|
||||
public static readonly ComponentResourceKey BaseColor2Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor2" ); |
|
||||
public static readonly ComponentResourceKey BaseColor3Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor3" ); |
|
||||
public static readonly ComponentResourceKey BaseColor4Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor4" ); |
|
||||
public static readonly ComponentResourceKey BaseColor5Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor5" ); |
|
||||
public static readonly ComponentResourceKey BaseColor6Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor6" ); |
|
||||
public static readonly ComponentResourceKey BaseColor7Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor7" ); |
|
||||
public static readonly ComponentResourceKey BaseColor8Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor8" ); |
|
||||
public static readonly ComponentResourceKey BaseColor9Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor9" ); |
|
||||
public static readonly ComponentResourceKey BaseColor10Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor10" ); |
|
||||
public static readonly ComponentResourceKey BaseColor11Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor11" ); |
|
||||
public static readonly ComponentResourceKey BaseColor12Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor12" ); |
|
||||
public static readonly ComponentResourceKey BaseColor13Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor13" ); |
|
||||
public static readonly ComponentResourceKey BaseColor14Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor14" ); |
|
||||
public static readonly ComponentResourceKey BaseColor15Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor15" ); |
|
||||
public static readonly ComponentResourceKey BaseColor16Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor16" ); |
|
||||
public static readonly ComponentResourceKey BaseColor17Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor17" ); |
|
||||
//public static readonly ComponentResourceKey BaseColor18Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor18" );
|
|
||||
//public static readonly ComponentResourceKey BaseColor19Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor19" );
|
|
||||
//public static readonly ComponentResourceKey BaseColor20Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor20" );
|
|
||||
//public static readonly ComponentResourceKey BaseColor21Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor21" );
|
|
||||
//public static readonly ComponentResourceKey BaseColor22Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor22" );
|
|
||||
//public static readonly ComponentResourceKey BaseColor23Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor23" );
|
|
||||
public static readonly ComponentResourceKey BaseColor24Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor24" ); |
|
||||
public static readonly ComponentResourceKey BaseColor25Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor25" ); |
|
||||
public static readonly ComponentResourceKey BaseColor26Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor26" ); |
|
||||
public static readonly ComponentResourceKey BaseColor27Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor27" ); |
|
||||
public static readonly ComponentResourceKey BaseColor28Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor28" ); |
|
||||
public static readonly ComponentResourceKey BaseColor29Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor29" ); |
|
||||
public static readonly ComponentResourceKey BaseColor30Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor30" ); |
|
||||
public static readonly ComponentResourceKey BaseColor31Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor31" ); |
|
||||
public static readonly ComponentResourceKey BaseColor32Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor32" ); |
|
||||
public static readonly ComponentResourceKey BaseColor33Key = new ComponentResourceKey( typeof( AeroColors ), "BaseColor33" ); |
|
||||
} |
|
||||
} |
|
||||
@ -1,33 +0,0 @@ |
|||||
/************************************************************************************* |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md
|
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
|
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
|
|
||||
|
|
||||
***********************************************************************************/ |
|
||||
|
|
||||
using System; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Text; |
|
||||
|
|
||||
namespace Xceed.Wpf.AvalonDock.Themes |
|
||||
{ |
|
||||
public class AeroTheme : Theme |
|
||||
{ |
|
||||
public override Uri GetResourceUri() |
|
||||
{ |
|
||||
return new Uri( |
|
||||
"/Xceed.Wpf.AvalonDock.Themes.Aero;component/Theme.xaml", |
|
||||
UriKind.Relative); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,155 +0,0 @@ |
|||||
<!--*********************************************************************************** |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md |
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/ |
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids |
|
||||
|
|
||||
**********************************************************************************--> |
|
||||
|
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
||||
xmlns:at="clr-namespace:Xceed.Wpf.AvalonDock.Themes"> |
|
||||
|
|
||||
|
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor1}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="1,0"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#EBEEFA" Offset="0" /> |
|
||||
<GradientStop Color="#F4F7FC" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor2}" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor3}" |
|
||||
Color="Black"/> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor4}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#CFCFCF" Offset="0" /> |
|
||||
<GradientStop Color="#F2F2F2" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor5}" |
|
||||
Color="#898C95"/> |
|
||||
|
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor6}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#FCFDFE" Offset="0" /> |
|
||||
<GradientStop Color="#D2E6FA" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor7}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#ECF5FC" Offset="0" /> |
|
||||
<GradientStop Color="#98B4D2" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor8}" |
|
||||
Color="#D2E6FA"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor9}" |
|
||||
Color="#FFF5F4EA"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor10}" |
|
||||
Color="Black"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor11}" |
|
||||
Color="#FFBBC0C7" /> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor12}" |
|
||||
Color="#555564"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor13}" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor14}" |
|
||||
Color="#69A1BF"/> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor15}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#8FADCE" Offset="0" /> |
|
||||
<GradientStop Color="#BDD3EF" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor16}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#B7CAE0" Offset="0" /> |
|
||||
<GradientStop Color="#E8F0FF" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor17}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#F7FCFE" Offset="0" /> |
|
||||
<GradientStop Color="#81D0F1" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor24}" StartPoint="0,0" EndPoint="0,1"> |
|
||||
<GradientStop Color="#FBFCFC" Offset="0" /> |
|
||||
<GradientStop Color="#D7DCE4" Offset="0.5" /> |
|
||||
<GradientStop Color="#CED4DF" Offset="0.5" /> |
|
||||
<GradientStop Color="#CED4DF" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor25}" StartPoint="0,0" EndPoint="0,1"> |
|
||||
<GradientStop Color="#FFFCF2" Offset="0" /> |
|
||||
<GradientStop Color="#FFEDBA" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFE8A6" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFE8A6" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor26}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#F2F2F2" Offset="0" /> |
|
||||
<GradientStop Color="#CFCFCF" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor27}" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#A7D9F5" Offset="0" /> |
|
||||
<GradientStop Color="#BEE6FD" Offset="0.5" /> |
|
||||
<GradientStop Color="#D9F0FC" Offset="0.5" /> |
|
||||
<GradientStop Color="#FAFDFE" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor28}" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor30}" |
|
||||
Color="#CED4DF"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor31}" |
|
||||
Color="#FFE8A6"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor32}" |
|
||||
Color="#3C7FB1"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type at:AeroColors}, ResourceId=BaseColor33}" |
|
||||
Color="#3D5277"/> |
|
||||
</ResourceDictionary> |
|
||||
@ -1,161 +0,0 @@ |
|||||
/************************************************************************************* |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md
|
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
|
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
|
|
||||
|
|
||||
***********************************************************************************/ |
|
||||
|
|
||||
using System; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Text; |
|
||||
using System.Windows; |
|
||||
using System.Windows.Controls; |
|
||||
using System.Windows.Data; |
|
||||
using System.Windows.Documents; |
|
||||
using System.Windows.Input; |
|
||||
using System.Windows.Media; |
|
||||
using System.Windows.Media.Imaging; |
|
||||
using System.Windows.Navigation; |
|
||||
using System.Windows.Shapes; |
|
||||
|
|
||||
namespace Xceed.Wpf.AvalonDock.Themes.Controls |
|
||||
{ |
|
||||
public class SplineBorder : Control |
|
||||
{ |
|
||||
|
|
||||
public SplineBorder() |
|
||||
{ |
|
||||
//RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);
|
|
||||
} |
|
||||
|
|
||||
|
|
||||
#region Thickness
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Thickness Dependency Property
|
|
||||
/// </summary>
|
|
||||
public static readonly DependencyProperty ThicknessProperty = |
|
||||
DependencyProperty.Register("Thickness", typeof(double), typeof(SplineBorder), |
|
||||
new FrameworkPropertyMetadata((double)1.0, FrameworkPropertyMetadataOptions.AffectsRender)); |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Gets or sets the Thickness property. This dependency property
|
|
||||
/// indicates the border thickness.
|
|
||||
/// </summary>
|
|
||||
public double Thickness |
|
||||
{ |
|
||||
get { return (double)GetValue(ThicknessProperty); } |
|
||||
set { SetValue(ThicknessProperty, value); } |
|
||||
} |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region Fill
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Fill Dependency Property
|
|
||||
/// </summary>
|
|
||||
public static readonly DependencyProperty FillProperty = |
|
||||
DependencyProperty.Register("Fill", typeof(Brush), typeof(SplineBorder), |
|
||||
new FrameworkPropertyMetadata((Brush)null, FrameworkPropertyMetadataOptions.AffectsRender)); |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Gets or sets the Fill property. This dependency property
|
|
||||
/// indicates the fill color.
|
|
||||
/// </summary>
|
|
||||
public Brush Fill |
|
||||
{ |
|
||||
get { return (Brush)GetValue(FillProperty); } |
|
||||
set { SetValue(FillProperty, value); } |
|
||||
} |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region Stroke
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Stroke Dependency Property
|
|
||||
/// </summary>
|
|
||||
public static readonly DependencyProperty StrokeProperty = |
|
||||
DependencyProperty.Register("Stroke", typeof(Brush), typeof(SplineBorder), |
|
||||
new FrameworkPropertyMetadata(Brushes.Black, FrameworkPropertyMetadataOptions.AffectsRender)); |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Gets or sets the Stroke property. This dependency property
|
|
||||
/// indicates the stroke brush.
|
|
||||
/// </summary>
|
|
||||
public Brush Stroke |
|
||||
{ |
|
||||
get { return (Brush)GetValue(StrokeProperty); } |
|
||||
set { SetValue(StrokeProperty, value); } |
|
||||
} |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region BottomBorderMargin
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// BottomBorderMargin Dependency Property
|
|
||||
/// </summary>
|
|
||||
public static readonly DependencyProperty BottomBorderMarginProperty = |
|
||||
DependencyProperty.Register("BottomBorderMargin", typeof(double), typeof(SplineBorder), |
|
||||
new FrameworkPropertyMetadata((double)0.0, FrameworkPropertyMetadataOptions.AffectsRender)); |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Gets or sets the BottomBorderMargin property. This dependency property
|
|
||||
/// indicates the adjustment for the bottom margin.
|
|
||||
/// </summary>
|
|
||||
public double BottomBorderMargin |
|
||||
{ |
|
||||
get { return (double)GetValue(BottomBorderMarginProperty); } |
|
||||
set { SetValue(BottomBorderMarginProperty, value); } |
|
||||
} |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
|
|
||||
|
|
||||
protected override void OnRender(DrawingContext drawingContext) |
|
||||
{ |
|
||||
var pgFill = new PathGeometry(); |
|
||||
var pfFill = new PathFigure() { IsFilled = true, IsClosed = true }; |
|
||||
pfFill.StartPoint = new Point(ActualWidth, 0.0); |
|
||||
|
|
||||
var q1Fill = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth * 2 / 3, 0.0), Point2 = new Point(ActualWidth / 2.0, ActualHeight / 2.0), IsStroked = false }; |
|
||||
pfFill.Segments.Add(q1Fill); |
|
||||
var q2Fill = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth / 3, ActualHeight ), Point2 = new Point(0, ActualHeight ), IsStroked = false }; |
|
||||
pfFill.Segments.Add(q2Fill); |
|
||||
|
|
||||
pfFill.Segments.Add(new LineSegment() { Point = new Point(ActualWidth, ActualHeight ), IsStroked = false }); |
|
||||
|
|
||||
pgFill.Figures.Add(pfFill); |
|
||||
|
|
||||
drawingContext.DrawGeometry(Fill, null, pgFill); |
|
||||
|
|
||||
var pgBorder = new PathGeometry(); |
|
||||
var pfBorder = new PathFigure() { IsFilled = false, IsClosed = false }; |
|
||||
pfBorder.StartPoint = new Point(ActualWidth, Thickness / 2); |
|
||||
|
|
||||
var q1Border = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth * 2 / 3, 0.0), Point2 = new Point(ActualWidth / 2.0, ActualHeight / 2.0) }; |
|
||||
pfBorder.Segments.Add(q1Border); |
|
||||
var q2Border = new QuadraticBezierSegment() { Point1 = new Point(ActualWidth / 3, ActualHeight), Point2 = new Point(0.0, ActualHeight - BottomBorderMargin) }; |
|
||||
pfBorder.Segments.Add(q2Border); |
|
||||
|
|
||||
pgBorder.Figures.Add(pfBorder); |
|
||||
|
|
||||
drawingContext.DrawGeometry(null, new Pen(Stroke, Thickness), pgBorder); |
|
||||
|
|
||||
base.OnRender(drawingContext); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 970 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 702 B |
|
Before Width: | Height: | Size: 944 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 721 B |
|
Before Width: | Height: | Size: 664 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 973 B |
|
Before Width: | Height: | Size: 1002 B |
|
Before Width: | Height: | Size: 679 B |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 358 B |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 199 B |
|
Before Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 403 B |
@ -1,70 +0,0 @@ |
|||||
/************************************************************************************* |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md
|
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
|
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
|
|
||||
|
|
||||
***********************************************************************************/ |
|
||||
|
|
||||
using System.Reflection; |
|
||||
using System.Resources; |
|
||||
using System.Runtime.CompilerServices; |
|
||||
using System.Runtime.InteropServices; |
|
||||
using System.Windows; |
|
||||
using System.Windows.Markup; |
|
||||
using System; |
|
||||
|
|
||||
// General Information about an assembly is controlled through the following
|
|
||||
// set of attributes. Change these attribute values to modify the information
|
|
||||
// associated with an assembly.
|
|
||||
[assembly: AssemblyTitle( "Xceed Toolkit for WPF - AvalonDock Aero Theme" )] |
|
||||
[assembly: AssemblyDescription( "This assembly implements the Aero Theme for the AvalonDock layout system." )] |
|
||||
|
|
||||
[assembly: AssemblyCompany( "Xceed Software Inc." )] |
|
||||
[assembly: AssemblyProduct( "Xceed Toolkit for WPF - AvalonDock" )] |
|
||||
[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2007-2019" )] |
|
||||
|
|
||||
|
|
||||
|
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||
// to COM components. If you need to access a type in this assembly from
|
|
||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||
[assembly: ComVisible(false)] |
|
||||
[assembly: CLSCompliant( true )] |
|
||||
|
|
||||
//In order to begin building localizable applications, set
|
|
||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
|
||||
//inside a <PropertyGroup>. For example, if you are using US english
|
|
||||
//in your source files, set the <UICulture> to en-US. Then uncomment
|
|
||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
|
||||
//the line below to match the UICulture setting in the project file.
|
|
||||
|
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
|
||||
|
|
||||
|
|
||||
[assembly: ThemeInfo( |
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
|
||||
//(used if a resource is not found in the page,
|
|
||||
// or application resource dictionaries)
|
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
|
||||
//(used if a resource is not found in the page,
|
|
||||
// app, or any theme specific resource dictionaries)
|
|
||||
)] |
|
||||
|
|
||||
|
|
||||
[assembly: XmlnsDefinition( "http://schemas.xceed.com/wpf/xaml/avalondock", "Xceed.Wpf.AvalonDock.Themes" )] |
|
||||
|
|
||||
#pragma warning disable 1699
|
|
||||
[assembly: AssemblyDelaySign( false )] |
|
||||
[assembly: AssemblyKeyFile( @"..\..\sn.snk" )] |
|
||||
[assembly: AssemblyKeyName( "" )] |
|
||||
#pragma warning restore 1699
|
|
||||
|
|
||||
@ -1,198 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
||||
<PropertyGroup> |
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
||||
<ProductVersion>8.0.30703</ProductVersion> |
|
||||
<SchemaVersion>2.0</SchemaVersion> |
|
||||
<ProjectGuid>{BA72CCE0-A9FB-4995-B496-7FEC5C87B85B}</ProjectGuid> |
|
||||
<OutputType>library</OutputType> |
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|
||||
<RootNamespace>Xceed.Wpf.AvalonDock.Themes</RootNamespace> |
|
||||
<AssemblyName>Xceed.Wpf.AvalonDock.Themes.Aero</AssemblyName> |
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile> |
|
||||
<FileAlignment>512</FileAlignment> |
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|
||||
<DebugSymbols>true</DebugSymbols> |
|
||||
<DebugType>full</DebugType> |
|
||||
<Optimize>false</Optimize> |
|
||||
<OutputPath>bin\Debug\</OutputPath> |
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|
||||
<DebugType>pdbonly</DebugType> |
|
||||
<Optimize>true</Optimize> |
|
||||
<OutputPath>bin\Release\</OutputPath> |
|
||||
<DefineConstants>TRACE</DefineConstants> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<ItemGroup> |
|
||||
<Reference Include="System" /> |
|
||||
<Reference Include="System.Data" /> |
|
||||
<Reference Include="System.Xml" /> |
|
||||
<Reference Include="Microsoft.CSharp" /> |
|
||||
<Reference Include="System.Core" /> |
|
||||
<Reference Include="System.Xml.Linq" /> |
|
||||
<Reference Include="System.Data.DataSetExtensions" /> |
|
||||
<Reference Include="System.Xaml"> |
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework> |
|
||||
</Reference> |
|
||||
<Reference Include="WindowsBase" /> |
|
||||
<Reference Include="PresentationCore" /> |
|
||||
<Reference Include="PresentationFramework" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Compile Include="..\Xceed.Wpf.Toolkit\AssemblyVersionInfo.cs"> |
|
||||
<Link>AssemblyVersionInfo.cs</Link> |
|
||||
</Compile> |
|
||||
<Compile Include="..\Xceed.Wpf.Toolkit\AssemblyVersionInfoCommon.cs"> |
|
||||
<Link>AssemblyVersionInfoCommon.cs</Link> |
|
||||
</Compile> |
|
||||
<Compile Include="AeroColors.cs" /> |
|
||||
<Compile Include="Controls\SplineBorder.cs" /> |
|
||||
<Compile Include="Properties\AssemblyInfo.cs"> |
|
||||
<SubType>Code</SubType> |
|
||||
</Compile> |
|
||||
<Compile Include="AeroTheme.cs" /> |
|
||||
<AppDesigner Include="Properties\" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<ProjectReference Include="..\Xceed.Wpf.AvalonDock\Xceed.Wpf.AvalonDock.csproj"> |
|
||||
<Project>{DB81988F-E0F2-45A0-A1FD-8C37F3D35244}</Project> |
|
||||
<Name>Xceed.Wpf.AvalonDock</Name> |
|
||||
</ProjectReference> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Page Include="Brushes.xaml"> |
|
||||
<Generator>MSBuild:Compile</Generator> |
|
||||
<SubType>Designer</SubType> |
|
||||
</Page> |
|
||||
<Page Include="Theme.xaml"> |
|
||||
<Generator>MSBuild:Compile</Generator> |
|
||||
<SubType>Designer</SubType> |
|
||||
</Page> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockAnchorableBottom.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinAutoHide.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinClose_Dark.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinAutoHide_Black.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinAutoHide_Dark.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinClose.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinClose_Black.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinRestore_Dark.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinDocMenu.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinDocMenu_Black.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinMaximize.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinMaximize_Black.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinMaximize_Dark.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinMenu.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinMenu_Black.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinMenu_Dark.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinRestore.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinRestore_Black.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockPaneLargeEmpty.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockAnchorableLeft.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockAnchorableRight.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockAnchorableTop.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableBottom.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableLeft.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableRight.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableTop.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentBottom.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentInside.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentLeft.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentRight.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockDocumentTop.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockPaneEmpty.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\HTabGroup.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\Locked.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\VTabGroup.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\PinDocMenu_Dark.png" /> |
|
||||
</ItemGroup> |
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
|
||||
Other similar extension points exist, see Microsoft.Common.targets. |
|
||||
<Target Name="BeforeBuild"> |
|
||||
</Target> |
|
||||
<Target Name="AfterBuild"> |
|
||||
</Target> |
|
||||
--> |
|
||||
</Project> |
|
||||
@ -1,42 +0,0 @@ |
|||||
<!--*********************************************************************************** |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md |
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/ |
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids |
|
||||
|
|
||||
**********************************************************************************--> |
|
||||
|
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
||||
|
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2" |
|
||||
Color="Black"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3" |
|
||||
Color="#41B1E1"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4" |
|
||||
Color="#5EA1C0"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5" |
|
||||
Color="#333333"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6" |
|
||||
Color="#8C8E94"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" |
|
||||
Color="#EEEEEE"/> |
|
||||
|
|
||||
</ResourceDictionary> |
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 946 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 358 B |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 199 B |
|
Before Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 403 B |
@ -1,33 +0,0 @@ |
|||||
/************************************************************************************* |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md
|
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
|
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
|
|
||||
|
|
||||
***********************************************************************************/ |
|
||||
|
|
||||
using System; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Text; |
|
||||
|
|
||||
namespace Xceed.Wpf.AvalonDock.Themes |
|
||||
{ |
|
||||
public class MetroTheme : Theme |
|
||||
{ |
|
||||
public override Uri GetResourceUri() |
|
||||
{ |
|
||||
return new Uri( |
|
||||
"/Xceed.Wpf.AvalonDock.Themes.Metro;component/Theme.xaml", |
|
||||
UriKind.Relative); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,69 +0,0 @@ |
|||||
/************************************************************************************* |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md
|
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/
|
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
|
|
||||
|
|
||||
***********************************************************************************/ |
|
||||
|
|
||||
using System.Reflection; |
|
||||
using System.Resources; |
|
||||
using System.Runtime.CompilerServices; |
|
||||
using System.Runtime.InteropServices; |
|
||||
using System.Windows; |
|
||||
using System.Windows.Markup; |
|
||||
using System; |
|
||||
|
|
||||
// General Information about an assembly is controlled through the following
|
|
||||
// set of attributes. Change these attribute values to modify the information
|
|
||||
// associated with an assembly.
|
|
||||
[assembly: AssemblyTitle( "Xceed Toolkit for WPF - AvalonDock Metro Theme" )] |
|
||||
[assembly: AssemblyDescription( "This assembly implements the Metro Theme for the AvalonDock layout system." )] |
|
||||
|
|
||||
[assembly: AssemblyCompany( "Xceed Software Inc." )] |
|
||||
[assembly: AssemblyProduct( "Xceed Toolkit for WPF - AvalonDock" )] |
|
||||
[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2007-2019" )] |
|
||||
|
|
||||
|
|
||||
|
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||
// to COM components. If you need to access a type in this assembly from
|
|
||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||
[assembly: ComVisible(false)] |
|
||||
[assembly: CLSCompliant( true )] |
|
||||
|
|
||||
//In order to begin building localizable applications, set
|
|
||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
|
||||
//inside a <PropertyGroup>. For example, if you are using US english
|
|
||||
//in your source files, set the <UICulture> to en-US. Then uncomment
|
|
||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
|
||||
//the line below to match the UICulture setting in the project file.
|
|
||||
|
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
|
||||
|
|
||||
|
|
||||
[assembly: ThemeInfo( |
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
|
||||
//(used if a resource is not found in the page,
|
|
||||
// or application resource dictionaries)
|
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
|
||||
//(used if a resource is not found in the page,
|
|
||||
// app, or any theme specific resource dictionaries)
|
|
||||
)] |
|
||||
|
|
||||
|
|
||||
[assembly: XmlnsDefinition( "http://schemas.xceed.com/wpf/xaml/avalondock", "Xceed.Wpf.AvalonDock.Themes" )] |
|
||||
|
|
||||
#pragma warning disable 1699
|
|
||||
[assembly: AssemblyDelaySign( false )] |
|
||||
[assembly: AssemblyKeyFile( @"..\..\sn.snk" )] |
|
||||
[assembly: AssemblyKeyName( "" )] |
|
||||
#pragma warning restore 1699
|
|
||||
@ -1,125 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
||||
<PropertyGroup> |
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
||||
<ProductVersion>8.0.30703</ProductVersion> |
|
||||
<SchemaVersion>2.0</SchemaVersion> |
|
||||
<ProjectGuid>{89286EB4-B4A1-418C-839A-067B00F442D8}</ProjectGuid> |
|
||||
<OutputType>library</OutputType> |
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|
||||
<RootNamespace>Xceed.Wpf.AvalonDock.Themes.Metro</RootNamespace> |
|
||||
<AssemblyName>Xceed.Wpf.AvalonDock.Themes.Metro</AssemblyName> |
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile> |
|
||||
<FileAlignment>512</FileAlignment> |
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|
||||
<DebugSymbols>true</DebugSymbols> |
|
||||
<DebugType>full</DebugType> |
|
||||
<Optimize>false</Optimize> |
|
||||
<OutputPath>bin\Debug\</OutputPath> |
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|
||||
<DebugType>pdbonly</DebugType> |
|
||||
<Optimize>true</Optimize> |
|
||||
<OutputPath>bin\Release\</OutputPath> |
|
||||
<DefineConstants>TRACE</DefineConstants> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<ItemGroup> |
|
||||
<Reference Include="System" /> |
|
||||
<Reference Include="System.Data" /> |
|
||||
<Reference Include="System.Xml" /> |
|
||||
<Reference Include="Microsoft.CSharp" /> |
|
||||
<Reference Include="System.Core" /> |
|
||||
<Reference Include="System.Xml.Linq" /> |
|
||||
<Reference Include="System.Data.DataSetExtensions" /> |
|
||||
<Reference Include="System.Xaml"> |
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework> |
|
||||
</Reference> |
|
||||
<Reference Include="WindowsBase" /> |
|
||||
<Reference Include="PresentationCore" /> |
|
||||
<Reference Include="PresentationFramework" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Compile Include="..\Xceed.Wpf.Toolkit\AssemblyVersionInfo.cs"> |
|
||||
<Link>AssemblyVersionInfo.cs</Link> |
|
||||
</Compile> |
|
||||
<Compile Include="..\Xceed.Wpf.Toolkit\AssemblyVersionInfoCommon.cs"> |
|
||||
<Link>AssemblyVersionInfoCommon.cs</Link> |
|
||||
</Compile> |
|
||||
<Compile Include="Properties\AssemblyInfo.cs"> |
|
||||
<SubType>Code</SubType> |
|
||||
</Compile> |
|
||||
<Compile Include="MetroTheme.cs" /> |
|
||||
<AppDesigner Include="Properties\" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Page Include="Brushes.xaml"> |
|
||||
<Generator>MSBuild:Compile</Generator> |
|
||||
<SubType>Designer</SubType> |
|
||||
</Page> |
|
||||
<Page Include="Theme.xaml"> |
|
||||
<Generator>MSBuild:Compile</Generator> |
|
||||
<SubType>Designer</SubType> |
|
||||
</Page> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Resource Include="Images\DockAnchorableBottom.png" /> |
|
||||
<Resource Include="Images\DockAnchorableLeft.png" /> |
|
||||
<Resource Include="Images\DockAnchorableRight.png" /> |
|
||||
<Resource Include="Images\DockAnchorableTop.png" /> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableBottom.png" /> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableLeft.png" /> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableRight.png" /> |
|
||||
<Resource Include="Images\DockDocumentAsAnchorableTop.png" /> |
|
||||
<Resource Include="Images\DockDocumentBottom.png" /> |
|
||||
<Resource Include="Images\DockDocumentInside.png" /> |
|
||||
<Resource Include="Images\DockDocumentLeft.png" /> |
|
||||
<Resource Include="Images\DockDocumentRight.png" /> |
|
||||
<Resource Include="Images\DockDocumentTop.png" /> |
|
||||
<Resource Include="Images\DockPaneEmpty.png" /> |
|
||||
<Resource Include="Images\DockPaneLargeEmpty.png" /> |
|
||||
<Resource Include="Images\HTabGroup.png" /> |
|
||||
<Resource Include="Images\Locked.png" /> |
|
||||
<Resource Include="Images\PinAutoHide.png" /> |
|
||||
<Resource Include="Images\PinAutoHide_Black.png" /> |
|
||||
<Resource Include="Images\PinAutoHide_Dark.png" /> |
|
||||
<Resource Include="Images\PinClose.png" /> |
|
||||
<Resource Include="Images\PinClose_Black.png" /> |
|
||||
<Resource Include="Images\PinClose_Dark.png" /> |
|
||||
<Resource Include="Images\PinDocMenu.png" /> |
|
||||
<Resource Include="Images\PinDocMenu_Black.png" /> |
|
||||
<Resource Include="Images\PinMaximize.png" /> |
|
||||
<Resource Include="Images\PinMaximize_Black.png" /> |
|
||||
<Resource Include="Images\PinMaximize_Dark.png" /> |
|
||||
<Resource Include="Images\PinMenu.png" /> |
|
||||
<Resource Include="Images\PinMenu_Black.png" /> |
|
||||
<Resource Include="Images\PinMenu_Dark.png" /> |
|
||||
<Resource Include="Images\PinRestore.png" /> |
|
||||
<Resource Include="Images\PinRestore_Black.png" /> |
|
||||
<Resource Include="Images\PinRestore_Dark.png" /> |
|
||||
<Resource Include="Images\VTabGroup.png" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<ProjectReference Include="..\Xceed.Wpf.AvalonDock\Xceed.Wpf.AvalonDock.csproj"> |
|
||||
<Project>{DB81988F-E0F2-45A0-A1FD-8C37F3D35244}</Project> |
|
||||
<Name>Xceed.Wpf.AvalonDock</Name> |
|
||||
</ProjectReference> |
|
||||
</ItemGroup> |
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
|
||||
Other similar extension points exist, see Microsoft.Common.targets. |
|
||||
<Target Name="BeforeBuild"> |
|
||||
</Target> |
|
||||
<Target Name="AfterBuild"> |
|
||||
</Target> |
|
||||
--> |
|
||||
</Project> |
|
||||
@ -1,195 +0,0 @@ |
|||||
<!--*********************************************************************************** |
|
||||
|
|
||||
Toolkit for WPF |
|
||||
|
|
||||
Copyright (C) 2007-2019 Xceed Software Inc. |
|
||||
|
|
||||
This program is provided to you under the terms of the Microsoft Public |
|
||||
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/master/license.md |
|
||||
|
|
||||
For more features, controls, and fast professional support, |
|
||||
pick up the Plus Edition at https://xceed.com/xceed-toolkit-plus-for-wpf/ |
|
||||
|
|
||||
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids |
|
||||
|
|
||||
**********************************************************************************--> |
|
||||
|
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
||||
|
|
||||
|
|
||||
<DrawingBrush x:Key="AvalonDock_ThemeVS2010_BaseColor1" |
|
||||
TileMode="Tile" |
|
||||
Viewport="0 0 5 5" |
|
||||
ViewportUnits="Absolute" |
|
||||
Stretch="None"> |
|
||||
<DrawingBrush.Drawing> |
|
||||
<DrawingGroup> |
|
||||
<GeometryDrawing Brush="#2C3D5A"> |
|
||||
<GeometryDrawing.Geometry> |
|
||||
<RectangleGeometry Rect="0,0,10,10"/> |
|
||||
</GeometryDrawing.Geometry> |
|
||||
</GeometryDrawing> |
|
||||
<GeometryDrawing> |
|
||||
<GeometryDrawing.Pen> |
|
||||
<Pen Thickness="1" Brush="#35496A" /> |
|
||||
</GeometryDrawing.Pen> |
|
||||
<GeometryDrawing.Geometry> |
|
||||
<GeometryGroup> |
|
||||
<LineGeometry StartPoint="0,0" EndPoint="10,10" /> |
|
||||
</GeometryGroup> |
|
||||
</GeometryDrawing.Geometry> |
|
||||
</GeometryDrawing> |
|
||||
<GeometryDrawing> |
|
||||
<GeometryDrawing.Pen> |
|
||||
<Pen Thickness="1" Brush="#293955" /> |
|
||||
</GeometryDrawing.Pen> |
|
||||
<GeometryDrawing.Geometry> |
|
||||
<GeometryGroup> |
|
||||
<LineGeometry StartPoint="1,0" EndPoint="10,9" /> |
|
||||
</GeometryGroup> |
|
||||
</GeometryDrawing.Geometry> |
|
||||
</GeometryDrawing> |
|
||||
</DrawingGroup> |
|
||||
</DrawingBrush.Drawing> |
|
||||
</DrawingBrush> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor2" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor3" |
|
||||
Color="Black"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor4" |
|
||||
Color="Transparent"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor5" |
|
||||
Color="#293955"/> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor6" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#50FFE8A6" Offset="0" /> |
|
||||
<GradientStop Color="#50FFE8A6" Offset="0.5" /> |
|
||||
<GradientStop Color="#50FFEDBA" Offset="0.5" /> |
|
||||
<GradientStop Color="#50FFFCF2" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor7" |
|
||||
StartPoint="0,1" |
|
||||
EndPoint="0,0"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#FFCED4DB" Offset="0" /> |
|
||||
<GradientStop Color="#FFD4DBE4" Offset="0.1" /> |
|
||||
<GradientStop Color="#FFD4DDEA" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFC8D5E8" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor8" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor9" |
|
||||
Color="#FFF5F4EA"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor10" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor11" |
|
||||
Color="#FFBBC0C7" /> |
|
||||
|
|
||||
<!--<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor12" |
|
||||
Color="White"/>--> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor13" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor14" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor15" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#FFFCF2" Offset="0" /> |
|
||||
<GradientStop Color="#FFEDBA" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFE8A6" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFE8A6" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor16" |
|
||||
StartPoint="0,0" |
|
||||
EndPoint="0,1"> |
|
||||
<GradientStop Color="#4D6082" Offset="0" /> |
|
||||
<GradientStop Color="#3D5277" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<!--<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor17" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor18" |
|
||||
Color="Black"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor20" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor21" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor22" |
|
||||
Color="Black"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor23" |
|
||||
Color="Black"/>--> |
|
||||
|
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor24" StartPoint="0,0" EndPoint="0,1"> |
|
||||
<GradientStop Color="#FBFCFC" Offset="0" /> |
|
||||
<GradientStop Color="#D7DCE4" Offset="0.5" /> |
|
||||
<GradientStop Color="#CED4DF" Offset="0.5" /> |
|
||||
<GradientStop Color="#CED4DF" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor25" StartPoint="0,0" EndPoint="0,1"> |
|
||||
<GradientStop Color="#FFFCF2" Offset="0" /> |
|
||||
<GradientStop Color="#FFEDBA" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFE8A6" Offset="0.5" /> |
|
||||
<GradientStop Color="#FFE8A6" Offset="1" /> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<!--<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor26" StartPoint="0,0" EndPoint="0,1"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#50FFE8A6" Offset="0" /> |
|
||||
<GradientStop Color="#50FFE8A6" Offset="0.5" /> |
|
||||
<GradientStop Color="#50FFEDBA" Offset="0.5" /> |
|
||||
<GradientStop Color="#50FFFCF2" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush> |
|
||||
|
|
||||
<LinearGradientBrush x:Key="AvalonDock_ThemeVS2010_BaseColor27" |
|
||||
StartPoint="0,0" EndPoint="0,1"> |
|
||||
<LinearGradientBrush.GradientStops> |
|
||||
<GradientStop Color="#50FFE8A6" Offset="0" /> |
|
||||
<GradientStop Color="#50FFE8A6" Offset="0.5" /> |
|
||||
<GradientStop Color="#50FFEDBA" Offset="0.5" /> |
|
||||
<GradientStop Color="#50FFFCF2" Offset="1" /> |
|
||||
</LinearGradientBrush.GradientStops> |
|
||||
</LinearGradientBrush>--> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor28" |
|
||||
Color="White"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor30" |
|
||||
Color="#CED4DF"/> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor31" |
|
||||
Color="#FFE8A6"/> |
|
||||
|
|
||||
<!--<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor32" |
|
||||
Color="Transparent"/>--> |
|
||||
|
|
||||
<SolidColorBrush x:Key="AvalonDock_ThemeVS2010_BaseColor33" |
|
||||
Color="#3D5277"/> |
|
||||
</ResourceDictionary> |
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |