External/Aga.Controls/Tree/Enums.cs
changeset 345 0c551e8818e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/External/Aga.Controls/Tree/Enums.cs	Sun May 27 15:16:19 2012 +0000
     1.3 @@ -0,0 +1,65 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Text;
     1.7 +
     1.8 +namespace Aga.Controls.Tree
     1.9 +{
    1.10 +	public enum DrawSelectionMode
    1.11 +	{
    1.12 +		None, Active, Inactive, FullRowSelect
    1.13 +	}
    1.14 +
    1.15 +	public enum TreeSelectionMode
    1.16 +	{
    1.17 +		Single, Multi, MultiSameParent
    1.18 +	}
    1.19 +
    1.20 +	public enum NodePosition
    1.21 +	{
    1.22 +		Inside, Before, After
    1.23 +	}
    1.24 +
    1.25 +	public enum VerticalAlignment
    1.26 +	{
    1.27 +		Top, Bottom, Center
    1.28 +	}
    1.29 +
    1.30 +	public enum IncrementalSearchMode
    1.31 +	{
    1.32 +		None, Standard, Continuous
    1.33 +	}
    1.34 +
    1.35 +	[Flags]
    1.36 +    public enum GridLineStyle
    1.37 +    {
    1.38 +		None = 0, 
    1.39 +		Horizontal = 1, 
    1.40 +		Vertical = 2, 
    1.41 +		HorizontalAndVertical = 3
    1.42 +    }
    1.43 +
    1.44 +	public enum ImageScaleMode
    1.45 +	{
    1.46 +		/// <summary>
    1.47 +		/// Don't scale
    1.48 +		/// </summary>
    1.49 +		Clip,
    1.50 +		/// <summary>
    1.51 +		/// Scales image to fit the display rectangle, aspect ratio is not fixed.
    1.52 +		/// </summary>
    1.53 +		Fit,
    1.54 +		/// <summary>
    1.55 +		/// Scales image down if it is larger than display rectangle, taking aspect ratio into account
    1.56 +		/// </summary>
    1.57 +		ScaleDown,
    1.58 +		/// <summary>
    1.59 +		/// Scales image up if it is smaller than display rectangle, taking aspect ratio into account
    1.60 +		/// </summary>
    1.61 +		ScaleUp,
    1.62 +		/// <summary>
    1.63 +		/// Scales image to match the display rectangle, taking aspect ratio into account
    1.64 +		/// </summary>
    1.65 +		AlwaysScale,
    1.66 +
    1.67 +	}
    1.68 +}