Browse Source
uses Controls from Extended WPF Toolkit fork (https://github.com/jogibear9988/WpfExToolkit)pull/449/head
5 changed files with 83 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
<xctk:ColorPicker x:Class="ICSharpCode.WpfDesign.Designer.PropertyGrid.Editors.ColorEditor" |
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||||
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" |
||||||
|
Focusable="False" |
||||||
|
SelectedColor="{Binding Value}"> |
||||||
|
</xctk:ColorPicker> |
||||||
@ -0,0 +1,29 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
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; |
||||||
|
using ICSharpCode.WpfDesign.PropertyGrid; |
||||||
|
|
||||||
|
namespace ICSharpCode.WpfDesign.Designer.PropertyGrid.Editors |
||||||
|
{ |
||||||
|
[TypeEditor(typeof(Color))] |
||||||
|
public partial class ColorEditor |
||||||
|
{ |
||||||
|
public ColorEditor() |
||||||
|
{ |
||||||
|
InitializeComponent(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,6 @@ |
|||||||
|
<xctk:TimeSpanUpDown x:Class="ICSharpCode.WpfDesign.Designer.PropertyGrid.Editors.TimeSpanEditor" |
||||||
|
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation" |
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||||
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" |
||||||
|
Value="{Binding Value}"> |
||||||
|
</xctk:TimeSpanUpDown> |
||||||
@ -0,0 +1,30 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
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; |
||||||
|
using ICSharpCode.WpfDesign.PropertyGrid; |
||||||
|
|
||||||
|
|
||||||
|
namespace ICSharpCode.WpfDesign.Designer.PropertyGrid.Editors |
||||||
|
{ |
||||||
|
[TypeEditor(typeof(TimeSpan))] |
||||||
|
public partial class TimeSpanEditor |
||||||
|
{ |
||||||
|
public TimeSpanEditor() |
||||||
|
{ |
||||||
|
InitializeComponent(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue