External/Aga.Controls/Tree/Enums.cs
author StephaneLenclud
Thu, 18 Apr 2013 23:25:10 +0200
branchMiniDisplay
changeset 444 9b09e2ee0968
permissions -rw-r--r--
Front View plug-in does not init if no sensor added.
Fixing some format to make strings shorter.
Now trying to start SoundGraphAccess.exe process from same directory.
Packed mode now can display three sensors along with the current time.
     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 }