Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Auto-filter for Microsoft WPF DataGrid

, 29 Jan 2009
Allows auto filtering functionality for DataGrid columns.
WPFGridFilter.zip
WPFGridFilter
PowerCollections
PowerCollections.csproj.user
Properties
Stepi.Collections
bin
Filters
Properties
Stepi.UIFilters
bin
Initializers
Properties
Settings.settings
Themes
Test.GridSorting
bin
Debug
Test.GridFilter.vshost.exe
Properties
Settings.settings
//******************************
// Written by Peter Golde
// Copyright (c) 2004-2005, Wintellect
//
// Use and restribution of this code is subject to the license agreement 
// contained in the file "License.txt" accompanying this file.
//******************************

using System;

namespace Wintellect.PowerCollections
{
	/// <summary>
	/// A holder class for localizable strings that are used. Currently, these are not loaded from resources, but 
	/// just coded into this class. To make this library localizable, simply change this class to load the
	/// given strings from resources.
	/// </summary>
	internal static class Strings
	{
		public static readonly string UncomparableType = "Type \"{0}\" does not implement IComparable<{0}> or IComparable.";
        public static readonly string ArgMustNotBeNegative = "The argument may not be less than zero.";
        public static readonly string ArrayTooSmall = "The array is too small to hold all of the items.";
        public static readonly string KeyNotFound = "The key was not found in the collection.";
        public static readonly string ResetNotSupported = "Reset is not supported on this enumerator.";
        public static readonly string CannotModifyCollection = "The \"{0}\" collection is read-only and cannot be modified.";
        public static readonly string KeyAlreadyPresent = "The key was already present in the dictionary.";
        public static readonly string WrongType = "The value \"{0}\" isn't of type \"{1}\" and can't be used in this generic collection.";
        public static readonly string MustOverrideOrReimplement = "This method must be overridden or re-implemented in the derived class.";
        public static readonly string MustOverrideIndexerGet = "The get accessor of the indexer must be overridden.";
        public static readonly string MustOverrideIndexerSet = "The set accessor of the indexer must be overridden.";
        public static readonly string OutOfViewRange = "The argument is outside the range of this View.";
        public static readonly string TypeNotCloneable = "Type \"{0}\" does not implement ICloneable.";
        public static readonly string ChangeDuringEnumeration = "Collection was modified during an enumeration.";
        public static readonly string InconsistentComparisons = "The two collections cannot be combined because they use different comparison operations.";
        public static readonly string CollectionIsEmpty = "The collection is empty.";
        public static readonly string BadComparandType = "Comparand is not of the correct type.";
        public static readonly string CollectionTooLarge = "The collection has become too large.";
        public static readonly string InvalidLoadFactor = "The load factor must be between 0.25 and 0.95.";
        public static readonly string CapacityLessThanCount = "The capacity may not be less than Count.";
        public static readonly string ListIsReadOnly = "The list may not be read only.";
        public static readonly string CollectionIsReadOnly = "The collection may not be read only.";
        public static readonly string IdentityComparerNoCompare = "The Compare method is not supported on an identity comparer.";
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Eclipse Public License 1.0

Share

About the Author

Stefan Bocutiu
Software Developer (Senior) Lab49
United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 29 Jan 2009
Article Copyright 2009 by Stefan Bocutiu
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid