/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ // Original file Copyright Crytek GMBH or its affiliates, used under license. using System; using System.Collections.Generic; using System.Text; namespace Aga.Controls.Tree { public enum DrawSelectionMode { None, Active, Inactive, FullRowSelect } public enum TreeSelectionMode { Single, Multi, MultiSameParent } public enum NodePosition { Inside, Before, After } public enum VerticalAlignment { Top, Bottom, Center } public enum IncrementalSearchMode { None, Standard, Continuous } [Flags] public enum GridLineStyle { None = 0, Horizontal = 1, Vertical = 2, HorizontalAndVertical = 3 } public enum ImageScaleMode { /// /// Don't scale /// Clip, /// /// Scales image to fit the display rectangle, aspect ratio is not fixed. /// Fit, /// /// Scales image down if it is larger than display rectangle, taking aspect ratio into account /// ScaleDown, /// /// Scales image up if it is smaller than display rectangle, taking aspect ratio into account /// ScaleUp, /// /// Scales image to match the display rectangle, taking aspect ratio into account /// AlwaysScale, } }