code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
using System; namespace PropertyTools.Wpf { /// <summary> /// The WidePropertyAttribute is used for wide properties. /// Properties marked with [WideProperty] will have the label above the editor. /// Properties marked with [WideProperty(false)] will have no label. /// The editor will use ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/WidePropertyAttribute.cs
C#
gpl3
758
using System; namespace PropertyTools.Wpf { /// <summary> /// The DirectoryPathAttribute is used for directory properties. /// A "Browse" button will be added, and a FolderBrowser dialog will be used to edit the directory path. /// </summary> [AttributeUsage(AttributeTargets.Property)] ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/DirectoryPathAttribute.cs
C#
gpl3
388
using System; namespace PropertyTools.Wpf { /// <summary> /// The FilePathAttribute is used for path properties. /// The filter and default extension will be used by the open/save file dialogs. /// </summary> [AttributeUsage(AttributeTargets.Property)] public class FilePathAttribute : ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/FilePathAttribute.cs
C#
gpl3
730
using System; namespace PropertyTools.Wpf { /// <summary> /// The FormatStringAttribute is used to provide a format string for numeric properties. /// Example usage: /// [FormatString("0.00")] /// </summary> [AttributeUsage(AttributeTargets.Property)] public class FormatStringA...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/FormatStringAttribute.cs
C#
gpl3
1,029
using System; namespace PropertyTools.Wpf { /// <summary> /// The ResettableAttribute is used for resettable properties. /// Properties marked with [Resettable] will have a reset button. /// The button will reset the property to the configured reset value. /// Example usage: //...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/ResettableAttribute.cs
C#
gpl3
1,175
using System; namespace PropertyTools.Wpf { /// <summary> /// The SortOrderAttribute is used to sort the tabs, categories and properties. /// Example usage: /// [SortOrder(100)] /// </summary> [AttributeUsage(AttributeTargets.Property)] public class SortOrderAttribute : Attribu...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/SortOrderAttribute.cs
C#
gpl3
493
using System; namespace PropertyTools.Wpf { /// <summary> /// The RadiobuttonAttribute defines if an enum property should use a /// radiobutton list as its editor. If the UseRadioButtons property is false, a combobox will be used. /// </summary> [AttributeUsage(AttributeTargets.Property)] ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Attributes/RadioButtonsAttribute.cs
C#
gpl3
696
using System.ComponentModel; namespace PropertyTools.Wpf { public interface IPropertyViewModelFactory { /// <summary> /// Create a PropertyViewModel for the given property. /// The ViewModel could be populated with data from local attributes. /// </summary> //...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Interfaces/IPropertyViewModelFactory.cs
C#
gpl3
537
using System; using System.Windows.Media; namespace PropertyTools.Wpf { /// <summary> /// Provides images for PropertyEditor tab icons. /// Used in PropertyEditor.ImageProvider /// </summary> public interface IImageProvider { /// <summary> /// Return the image ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Interfaces/IImageProvider.cs
C#
gpl3
561
using System; namespace PropertyTools.Wpf { /// <summary> /// Localize tab/category/property names and tooltips. /// Used in PropertyEditor.LocalizationService /// </summary> public interface ILocalizationService { string GetString(Type instanceType, string key); obje...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Interfaces/ILocalizationService.cs
C#
gpl3
383
using System.ComponentModel; namespace PropertyTools.Wpf { /// <summary> /// Return Enabled, Visible, Error and Warning states for a given component and property. /// </summary> public interface IPropertyStateProvider { bool IsEnabled(object component, PropertyDescriptor descripto...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Interfaces/IPropertyStateProvider.cs
C#
gpl3
561
namespace PropertyTools.Wpf { public interface IResettableProperties { object GetResetValue(string propertyName); } }
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Interfaces/IResettableProperties.cs
C#
gpl3
145
using System; using System.Collections.Generic; namespace PropertyTools.Wpf { // todo: consider to solve this in other ways... /// <summary> /// Implement this interface on your model class to be able to updates the /// property enabled/visible states of the properties. /// This updat...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Interfaces/IPropertyStateUpdater.cs
C#
gpl3
1,493
using System; using System.ComponentModel; using System.Linq; namespace PropertyTools.Wpf { public static class AttributeHelper { /// <summary> /// Return the first attribute of a given type /// </summary> /// <typeparam name="T"></typeparam> /// <param name=...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Helpers/AttributeHelper.cs
C#
gpl3
1,753
using System; using System.Globalization; using System.Windows.Media; namespace PropertyTools.Wpf { /// <summary> /// Static <see cref="Color"/> helper methods. /// </summary> public static class ColorHelper { public static Color UndefinedColor = Color.FromArgb(0, 0, 0, 0); ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Helpers/ColorHelper.cs
C#
gpl3
11,429
namespace PropertyTools.Wpf { using System; using System.Text.RegularExpressions; /// <summary> /// Formats the TimeSpan to a string /// </summary> /// <remarks> /// http://www.java2s.com/Open-Source/CSharp/Sound-Mp3/stamp/Microsoft/Office/PowerPoint/STAMP/Core/TimeSpanFormatter.c...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Helpers/TimeSpanFormatter.cs
C#
gpl3
5,572
namespace PropertyTools.Wpf { using System; using System.Globalization; using System.Text.RegularExpressions; /// <summary> /// Parses a string to a TimeSpan. /// </summary> public class TimeSpanParser { private static readonly Regex parserExpression = new Regex(@"([...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Helpers/TimeSpanParser.cs
C#
gpl3
2,437
using System; using System.Collections; namespace PropertyTools.Wpf { public static class TypeHelper { /// <summary> /// Finds the biggest common type of items in the list. /// </summary> /// <param name="list">The list.</param> /// <returns></returns> ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Helpers/TypeHelper.cs
C#
gpl3
902
using System.Windows; using System.Windows.Controls; namespace PropertyTools.Wpf.Helpers { // from http://www.wpftutorial.net/PasswordBox.html public static class PasswordHelper { public static readonly DependencyProperty PasswordProperty = DependencyProperty.RegisterAttache...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Helpers/PasswordHelper.cs
C#
gpl3
3,343
using System.Windows; using System.Windows.Controls; namespace PropertyTools.Wpf { public class PopupBox : ComboBox { static PopupBox() { DefaultStyleKeyProperty.OverrideMetadata(typeof(PopupBox), new FrameworkPropertyMetadata(typeof(PopupBox))); } publ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/PopupBox/PopupBox.cs
C#
gpl3
838
using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace PropertyTools.Wpf { /// <summary> /// TextBox that updates the binding when Enter is pressed. Also moves focus to the next control. /// Todo: replace by behaviour or attached dependency property? /// </...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/TextBoxEx.cs
C#
gpl3
3,149
using System.ComponentModel; using System.Windows.Controls; namespace PropertyTools.Wpf { /// <summary> /// Slider that calls IEditableObject.BeginEdit/EndEdit when thumb dragging. /// </summary> public class SliderEx : Slider { protected override void OnThumbDragStarted(System.W...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/SliderEx.cs
C#
gpl3
989
using System; using System.Globalization; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; namespace PropertyTools.Wpf { /// <summary> /// A TextBox with a bindable StringFormat property. /// </summary> public class FormattingTextBox : TextBox ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/FormattingTextBox.cs
C#
gpl3
4,239
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DirectoryPicker.cs" company=""> // // </copyright> // <summary> // DirectoryPicker control // </summary> // -----------------------------------------------------------...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/FilePicker/DirectoryPicker.cs
C#
gpl3
3,807
using System.Windows; using System.Windows.Controls; using System.Windows.Input; using Microsoft.Win32; namespace PropertyTools.Wpf { /// <summary> /// FilePicker control /// </summary> public class FilePicker : Control { public static readonly DependencyProperty FilePathProper...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/FilePicker/FilePicker.cs
C#
gpl3
4,671
using System; using System.Globalization; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; namespace PropertyTools.Wpf { // http://bea.stollnitz.com/blog/?p=28 // http://code.msdn.microsoft.com/wpfradiobuttonlist public ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/RadioButtonList/RadioButtonList.cs
C#
gpl3
5,041
using System; using System.Windows; using System.Windows.Controls; namespace PropertyTools.Wpf { public class EnumMenuItem : MenuItem { public static readonly DependencyProperty SelectedValueProperty = DependencyProperty.Register("SelectedValue", typeof(Enum), typeof(EnumMenuItem)...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/EnumMenuItem.cs
C#
gpl3
1,744
using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace PropertyTools.Wpf { /// <summary> /// Code Project article /// http://www.codeproject.com/KB/WPF/DockPanelSplitter.aspx /// /// CodePlex project /// http://wpfcon...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/DockPanelSplitter/DockPanelSplitter.cs
C#
gpl3
11,533
using System; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; namespace PropertyTools.Wpf { /// <summary> /// The Bitmap element is using the ActualWidth/Height of the image for the control size. /// It also offsets the image to avoid blurring over pixel bound...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/Bitmap.cs
C#
gpl3
8,143
using System; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace PropertyTools.Wpf { /// <summary> /// Captures screenshot using WINAPI. /// http://stackoverflow.com/questions/173628...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/ColorPicker/CaptureScreenshot.cs
C#
gpl3
5,103
// Persistent color palette support courtesy of Per Malmberg <per.malmberg@gmail.com> // using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Globalization; using System.IO; using System.Text; using System.Windows; using System.Windows.Input; using System.Windows.Medi...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/ColorPicker/ColorPickerPalette.cs
C#
gpl3
11,861
using System.ComponentModel; using System.Windows.Media; namespace PropertyTools.Wpf.Controls.ColorPicker { /// <summary> /// Wrapper class for colors - needed to get unique items in the persistent color list /// since Color.XXX added in multiple positions results in multiple items being selected. ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/ColorPicker/ColorWrapper.cs
C#
gpl3
1,214
using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Threading; ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Controls/ColorPicker/ColorPicker.cs
C#
gpl3
18,682
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("PropertyTool...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Properties/AssemblyInfo.cs
C#
gpl3
2,247
using System; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// Define formatting and templates for a given type /// </summary> public class TypeDefinition { public Type Type { get; set; } public string StringFormat { get; set; } ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/TypeDefinition.cs
C#
gpl3
524
using System.Windows; namespace PropertyTools.Wpf { public class ColumnDefinition { /// <summary> /// Gets or sets the data field. /// Note: This is not used if DisplayTemplate/EditTemplate is set. /// </summary> /// <value>The data field.</value> pub...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/ColumnDefinition.cs
C#
gpl3
2,282
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace PropertyToo...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/SimpleGrid.Properties.cs
C#
gpl3
22,304
using System; namespace PropertyTools.Wpf { public class AutoFiller { private Func<CellRef, object> GetCellValue; private Func<CellRef, object, bool> TrySetCellValue; public AutoFiller(Func<CellRef, object> getCellValue, Func<CellRef, object, bool> trySetCellValue) {...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/AutoFiller.cs
C#
gpl3
5,672
using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Globalization; using System.Windows; namespace PropertyTools.Wpf { public class ColumnAlignmentCollectionConverter : TypeConverter { private static readonly char[] SplitterChars = ",;".ToCharArray()...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/ColumnAlignmentCollectionConverter.cs
C#
gpl3
1,945
using System; using System.ComponentModel; using System.Globalization; using System.Windows.Data; namespace PropertyTools.Wpf { [TypeConverter(typeof(CellRefConverter))] public struct CellRef { private int column; private int row; public CellRef(int row, int column) ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/CellRef.cs
C#
gpl3
2,750
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Cont...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/SimpleGrid.cs
C#
gpl3
89,125
using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Globalization; using System.Windows; namespace PropertyTools.Wpf { public class GridLengthCollectionConverter : TypeConverter { private static readonly char[] SplitterChars = ",;".ToCharArray(); ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/GridLengthCollectionConverter.cs
C#
gpl3
1,214
using System; using System.Collections.Specialized; using System.ComponentModel; using System.Globalization; namespace PropertyTools.Wpf { [TypeConverter(typeof(StringCollection))] public class StringCollectionConverter : TypeConverter { private static readonly char[] SplitterChars = ",;...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/StringCollectionConverter.cs
C#
gpl3
1,148
using System; using System.Linq; namespace PropertyTools.Wpf { /// <summary> /// Addtion, subctraction and multiplication for all kinds of objects. /// Uses reflection to invoke the operators. /// </summary> public static class ReflectionMath { /// <summary> /// Per...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/SimpleGrid/ReflectionMath.cs
C#
gpl3
4,035
using System; using System.ComponentModel; using System.Windows.Controls.Primitives; namespace PropertyTools.Wpf { /// <summary> /// Properties marked [Slidable] are using a slider /// </summary> public class SlidablePropertyViewModel : PropertyViewModel { public double SliderMax...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/SlidablePropertyViewModel.cs
C#
gpl3
1,506
using System.ComponentModel; using System.Windows.Input; namespace PropertyTools.Wpf { /// <summary> /// Properties that are marked [resettable(...)] have a reset button /// </summary> public class ResettablePropertyViewModel : PropertyViewModel { private readonly object instanc...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/ResettablePropertyViewModel.cs
C#
gpl3
1,724
using System; using System.Collections; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// The Property ViewModel /// </summary> public class PropertyViewModel : ViewModelBase, IDataErrorInfo, IE...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/PropertyViewModel.cs
C#
gpl3
22,626
using System.Collections.Generic; using System.Linq; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// ViewModel for categories. /// The categories can be shown as GroupBox, Expander or by the Header. /// </summary> public class CategoryViewModel : ViewModelBase ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/CategoryViewModel.cs
C#
gpl3
1,183
using System.ComponentModel; using System.Windows.Input; namespace PropertyTools.Wpf { public class FilePathPropertyViewModel : PropertyViewModel { public string Filter { get; set; } public string DefaultExtension { get; set; } public bool UseOpenDialog { get; set; } ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/FilePathViewModel.cs
C#
gpl3
1,432
using System.ComponentModel; namespace PropertyTools.Wpf { public class CheckBoxPropertyViewModel : PropertyViewModel { public CheckBoxPropertyViewModel(object instance, PropertyDescriptor descriptor, PropertyEditor owner) : base(instance, descriptor, owner) { } ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/CheckBoxPropertyViewModel.cs
C#
gpl3
329
using System.ComponentModel; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// Properties marked [WideProperty] are using the full width of the control /// </summary> public class WidePropertyViewModel : PropertyViewModel { public Visibility HeaderVisibility { ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/WidePropertyViewModel.cs
C#
gpl3
635
using System; using System.ComponentModel; namespace PropertyTools.Wpf { /// <summary> /// Base class for tabs, categories and properties /// </summary> public abstract class ViewModelBase : INotifyPropertyChanged, IComparable { protected PropertyEditor Owner { get; private set;...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/ViewModelBase.cs
C#
gpl3
1,321
using System; using System.ComponentModel; using System.Windows; namespace PropertyEditorLibrary { public class DefaultPropertyViewModelFactory : IPropertyViewModelFactory { private readonly PropertyEditor owner; /// <summary> /// Initializes a new instance of the <see cref...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/DefaultPropertyViewModelFactory.cs
C#
gpl3
4,313
using System; using System.ComponentModel; namespace PropertyTools.Wpf { /// <summary> /// Properties that are nullable or marked [Optional(...)] are enabled/disabled by a checkbox /// </summary> public class OptionalPropertyViewModel : PropertyViewModel { private bool enabledButH...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/OptionalPropertyViewModel.cs
C#
gpl3
3,992
using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Media; namespace PropertyTools.Wpf { /// <summary> /// ViewModel for the tabs. /// </summary> public class TabViewModel : ViewModelBase { public TabViewModel(string tabName, Property...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyViewModel/TabViewModel.cs
C#
gpl3
1,983
using System; using System.Windows; using System.Windows.Controls; namespace PropertyTools.Wpf { /// <summary> /// The CategoryTemplateSelector is used to select a DataTemplate for the categories /// </summary> public class CategoryTemplateSelector : DataTemplateSelector { publi...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/CategoryTemplateSelector.cs
C#
gpl3
1,759
using System; using System.Diagnostics; using System.Windows; using System.Windows.Controls; using System.Collections.ObjectModel; namespace PropertyTools.Wpf { /// <summary> /// The PropertyTemplateSelector is used to select a DataTemplate given an PropertyViewModel instance. /// The DataTempla...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyTemplateSelector.cs
C#
gpl3
6,660
using System.Collections.Generic; namespace PropertyEditorLibrary { public class PropertyCategory : PropertyBase { public List<PropertyBase> Properties { get; private set; } public PropertyCategory(string categoryName, PropertyEditor owner) : base(owner) { ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/PropertyCategory.cs
C#
gpl3
435
using System.ComponentModel; namespace PropertyEditorLibrary { /// <summary> /// Properties marked [Slidable] are using a slider /// </summary> public class SlidableProperty : Property { public double SliderMaximum { get; set; } public double SliderMinimum { get; set; } ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/SlidableProperty.cs
C#
gpl3
613
using System.ComponentModel; using System.Windows; using System; namespace PropertyEditorLibrary { /// <summary> /// Base class for tabs, categories and properties /// </summary> public abstract class PropertyBase : INotifyPropertyChanged, IDisposable, IComparable { protected P...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/PropertyBase.cs
C#
gpl3
2,783
using System.ComponentModel; namespace PropertyEditorLibrary { /// <summary> /// Properties marked [Optional(...)] are enabled/disabled by a checkbox /// </summary> public class OptionalProperty : Property { public OptionalProperty(object instance, PropertyDescriptor descriptor, st...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/OptionalProperty.cs
C#
gpl3
1,668
using System.Collections.Generic; using System.Windows; using System.Windows.Media; namespace PropertyEditorLibrary { public class PropertyTab : PropertyBase { public CategoryTemplateSelector CategoryTemplateSelector { get { return Owner.CategoryTemplateSelector; } } public List<Pro...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/PropertyTab.cs
C#
gpl3
762
using System.ComponentModel; using System.Windows; namespace PropertyEditorLibrary { /// <summary> /// Properties marked [WideProperty] are using the full width of the control /// </summary> public class WideProperty : Property { public Visibility HeaderVisibility { get; private s...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/WideProperty.cs
C#
gpl3
608
using System; using System.ComponentModel; using System.Collections; namespace PropertyEditorLibrary { /// <summary> /// The Property model /// </summary> public class Property : PropertyBase { public PropertyTemplateSelector PropertyTemplateSelector { get { return Owner.Propert...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyModel/Property.cs
C#
gpl3
6,048
using System; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// Define a datatemplate for a given type /// </summary> public class TypeEditor { public Type EditedType { get; set; } public DataTemplate EditorTemplate { get; set; } public bool A...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/TypeEditor.cs
C#
gpl3
354
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace PropertyTools.Wpf { /// ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/PropertyEditor.cs
C#
gpl3
50,101
using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Windows; using System.Windows.Controls.Primitives; namespace PropertyTools.Wpf { public class DefaultPropertyViewModelFactory : IPropertyViewModelFactory { protected readonly PropertyEditor o...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/PropertyEditor/DefaultPropertyViewModelFactory.cs
C#
gpl3
12,459
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="" file="BrowseForFolderDialog.cs"> // // </copyright> // <summary> // Represents a common dialog box (Win32::SHBrowseForFolder()) that allows a user to select a folde...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Dialogs/Shell32/BrowseForFolderDialog.cs
C#
gpl3
21,634
using System.Collections.Generic; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// Wizard dialog /// Todo: Win7 style /// </summary> public partial class WizardDialog : Window { public static readonly DependencyProperty CurrentPageProperty = ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Dialogs/WizardDialog.xaml.cs
C#
gpl3
2,840
using System; using System.Diagnostics; using System.IO; using System.Reflection; using System.Text; using System.Windows; using System.Windows.Media; namespace PropertyTools.Wpf { /// <summary> /// A basic About Dialog (inspired by Google) /// </summary> public partial class AboutDialog ...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Dialogs/AboutDialog.xaml.cs
C#
gpl3
5,577
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Windows; namespace PropertyTools.Wpf { /// <summary> /// Automatic Property Dialog /// Set the DataContext of the Dialog to the instan...
zzgaminginc-pointofssale
Lib/PropertyTools.Wpf/Dialogs/PropertyDialog.xaml.cs
C#
gpl3
6,914
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.Windo...
zzgaminginc-pointofssale
Lib/UIControls/SearchTextBox.cs
C#
gpl3
7,350
using System.Windows; using System.Windows.Controls; namespace UIControls { public sealed class BindablePasswordBox : Decorator { /// <summary> /// The password dependency property. /// </summary> public static readonly DependencyProperty PasswordProperty; ...
zzgaminginc-pointofssale
Lib/UIControls/BindablePasswordBox.cs
C#
gpl3
2,994
using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Animation; namespace UIControls { public enum TickerDirection { East, West } public class ContentTicker : ContentControl { Storyboard _ContentTi...
zzgaminginc-pointofssale
Lib/UIControls/ContentTicker.cs
C#
gpl3
7,417
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Threading; namespace UIControls { public class AnimatedTabControl : TabControl { public static readonly RoutedEvent SelectionChangingEvent = EventManager.RegisterRoutedEvent( "SelectionChangin...
zzgaminginc-pointofssale
Lib/UIControls/AnimatedTabControl.cs
C#
gpl3
2,028
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
zzgaminginc-pointofssale
Lib/UIControls/Properties/AssemblyInfo.cs
C#
gpl3
2,284
// Another Demo from Andy L. & MissedMemo.com // Borrow whatever code seems useful - just don't try to hold // me responsible for any ill effects. My demos sometimes use // licensed images which CANNOT legally be copied and reused. using System.Windows.Data; using System.Windows; namespace FlexButton ...
zzgaminginc-pointofssale
Lib/FlexButton/convertHighlightCornerRadius.cs
C#
gpl3
931
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; namespace FlexButton { public class ColorHSL { private short _h; public short H { get { return _h; } set { ...
zzgaminginc-pointofssale
Lib/FlexButton/ColorHSL.cs
C#
gpl3
4,551
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; namespace FlexButton { public class ButtonTextTemplateSelector : DataTemplateSelector { public DataTemplate DefaultTemplate { get; set; } publi...
zzgaminginc-pointofssale
Lib/FlexButton/ButtonTextTemplateSelector.cs
C#
gpl3
588
// Another Demo from Andy L. & MissedMemo.com // Borrow whatever code seems useful - just don't try to hold // me responsible for any ill effects. My demos sometimes use // licensed images which CANNOT legally be copied and reused. using System; using System.Windows.Data; using System.Windows.Media; ...
zzgaminginc-pointofssale
Lib/FlexButton/convertBrightnessToColorWithAlpha.cs
C#
gpl3
885
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; namespace FlexButton { /// <summary> /// Follow steps 1a or 1b and then 2 to use this custom control in a XAML file. /// /// Step 1a) Using this custom co...
zzgaminginc-pointofssale
Lib/FlexButton/FlexButton.cs
C#
gpl3
8,972
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
zzgaminginc-pointofssale
Lib/FlexButton/Properties/AssemblyInfo.cs
C#
gpl3
2,284
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; namespace FlexButton { public static class FlexButtonExtensions { public static float Lerp(this float start, float end, float amount) { float difference = e...
zzgaminginc-pointofssale
Lib/FlexButton/FlexButtonExtensions.cs
C#
gpl3
1,061
// Another Demo from Andy L. & MissedMemo.com // Borrow whatever code seems useful - just don't try to hold // me responsible for any ill effects. My demos sometimes use // licensed images which CANNOT legally be copied and reused. using System; using System.Windows.Data; using System.Windows.Media; ...
zzgaminginc-pointofssale
Lib/FlexButton/convertColorToColorWithAlpha.cs
C#
gpl3
1,109
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DataGridFilterLibrary.Support { /// <summary> /// Code from: http://www.ageektrapped.com/blog/the-missing-net-7-displaying-enums-in-wpf/ /// </summary> [AttributeUsage(AttributeTargets.Field)] ...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/DisplayStringAttribute.cs
C#
gpl3
741
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class MyOppositeBooleanToVisibilityConverter : IValueConverter { public object Convert(object value, ...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/MyOppositeBooleanToVisibilityConverter.cs
C#
gpl3
941
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Timers; using System.Windows; namespace DataGridFilterLibrary.Support { /// <summary> /// WPF port of windows forms version: http://www.codeproject.com/KB/miscctrl/Custo...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/DelayTextBox.cs
C#
gpl3
3,495
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DataGridFilterLibrary.Support { public enum FilterOperator { Undefined, LessThan, LessThanOrEqual, GreaterThan, GreaterThanOrEqual, Equals, Lik...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/FilterOperator.cs
C#
gpl3
353
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; namespace DataGridFilterLibrary.Support { public class ComboBoxToQueryStringConverter : IValueConverter { #region IValueConverter Members public object Convert(object v...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/ComboBoxToQueryStringConverter.cs
C#
gpl3
723
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class ClearFilterButtonVisibilityConverter : IMultiValueConverter { public object Convert(object[] va...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/ClearFilterButtonVisibilityConverter.cs
C#
gpl3
852
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; namespace DataGridFilterLibrary.Support { public class DatePickerToQueryStringConverter : IValueConverter { #region IValueConverter Members public object Convert(object...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/DatePickerToQueryStringConverter.cs
C#
gpl3
1,352
//Copyright (C) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Threading; namespace System.Linq.Dynamic { public stat...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/DynamicLibrary.cs
C#
gpl3
90,060
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace DataGridFilterLibrary.Support { [Serializable()] public class FilterData : INotifyPropertyChanged { #region Metadata public FilterType Type { get; set;...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/FilterData.cs
C#
gpl3
5,162
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class BooleanToHeightConverter : IValueConverter { public object Convert(object value, Type targetTyp...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/BooleanToHeightConverter.cs
C#
gpl3
724
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class FontSizeToHeightConverter : IValueConverter { public object Convert(object value, Type targetTy...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/FontSizeToHeightConverter.cs
C#
gpl3
988
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class VisibilityToWidthConverter : IValueConverter { public object Convert(object value, Type targetT...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/VisibilityToWidthConverter.cs
C#
gpl3
729
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class MyBooleanToVisibilityConverter : IValueConverter { public object Convert(object value, Type tar...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/MyBooleanToVisibilityConverter.cs
C#
gpl3
932
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DataGridFilterLibrary.Support { /// <summary> /// Corresponds to the FilterCurrentData templates (DataTemplate) /// of the DataGridColumnFilter defined in the Generic.xaml> /// </summary> pu...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/FilterType.cs
C#
gpl3
496
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; namespace DataGridFilterLibrary.Support { public class CheckBoxValueConverter : IValueConverter { #region IValueConverter Members public object Convert(object value, Ty...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/CheckBoxValueConverter.cs
C#
gpl3
985
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Resources; using System.Collections; using System.Reflection; using System.Windows.Data; using System.Collections.ObjectModel; using System.Globalization; using System.Windows.Markup; namespace DataGridFilte...
zzgaminginc-pointofssale
Lib/DataGridFilterLibrary/Support/EnumDisplayer.cs
C#
gpl3
4,898