External/Aga.Controls/Tree/Enums.cs
author moel.mich
Sun, 23 Sep 2012 18:37:43 +0000
changeset 380 573f1fff48b2
permissions -rw-r--r--
Fixed Issue 387. The new implementation does not try to start a ring 0 driver that already exists, but could not be opened. It tries to delete the driver and install it new. The driver is now stored temporarily in the application folder. The driver is not correctly removed on system shutdown.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 
     5 namespace Aga.Controls.Tree
     6 {
     7 	public enum DrawSelectionMode
     8 	{
     9 		None, Active, Inactive, FullRowSelect
    10 	}
    11 
    12 	public enum TreeSelectionMode
    13 	{
    14 		Single, Multi, MultiSameParent
    15 	}
    16 
    17 	public enum NodePosition
    18 	{
    19 		Inside, Before, After
    20 	}
    21 
    22 	public enum VerticalAlignment
    23 	{
    24 		Top, Bottom, Center
    25 	}
    26 
    27 	public enum IncrementalSearchMode
    28 	{
    29 		None, Standard, Continuous
    30 	}
    31 
    32 	[Flags]
    33     public enum GridLineStyle
    34     {
    35 		None = 0, 
    36 		Horizontal = 1, 
    37 		Vertical = 2, 
    38 		HorizontalAndVertical = 3
    39     }
    40 
    41 	public enum ImageScaleMode
    42 	{
    43 		/// <summary>
    44 		/// Don't scale
    45 		/// </summary>
    46 		Clip,
    47 		/// <summary>
    48 		/// Scales image to fit the display rectangle, aspect ratio is not fixed.
    49 		/// </summary>
    50 		Fit,
    51 		/// <summary>
    52 		/// Scales image down if it is larger than display rectangle, taking aspect ratio into account
    53 		/// </summary>
    54 		ScaleDown,
    55 		/// <summary>
    56 		/// Scales image up if it is smaller than display rectangle, taking aspect ratio into account
    57 		/// </summary>
    58 		ScaleUp,
    59 		/// <summary>
    60 		/// Scales image to match the display rectangle, taking aspect ratio into account
    61 		/// </summary>
    62 		AlwaysScale,
    63 
    64 	}
    65 }