External/Aga.Controls/Tree/Enums.cs
author StephaneLenclud
Sun, 03 Feb 2013 18:01:50 +0100
branchMiniDisplay
changeset 433 090259cfd699
permissions -rw-r--r--
Adding SoundGraphDisplay and SensorFrontView classes.
They were respectively based on SystemTray and SensorNotifyIcon.
SoundGraphDisplay is now able to load iMONDisplay.dll providing it lives on your PATH.
Adding option to sensor context menu for adding it into FrontView.
     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 }