using System; namespace Vanara.PInvoke { public static partial class PropSys { /// Describes how a property should be treated. [PInvokeData("Shtypes.h", MSDNShortId = "bb762538")] [Flags] public enum SHCOLSTATE { /// The value is displayed according to default settings for the column. SHCOLSTATE_DEFAULT = 0, /// The value is displayed as a string. SHCOLSTATE_TYPE_STR = 0x1, /// The value is displayed as an integer. SHCOLSTATE_TYPE_INT = 0x2, /// The value is displayed as a date/time. SHCOLSTATE_TYPE_DATE = 0x3, /// A mask for display type values SHCOLSTATE_TYPE_STR, SHCOLSTATE_TYPE_STR, and SHCOLSTATE_TYPE_DATE. SHCOLSTATE_TYPEMASK = 0xf, /// The column should be on by default in Details view. SHCOLSTATE_ONBYDEFAULT = 0x10, /// Will be slow to compute. Perform on a background thread. SHCOLSTATE_SLOW = 0x20, /// Provided by a handler, not the folder. SHCOLSTATE_EXTENDED = 0x40, /// Not displayed in the context menu, but is listed in the More... dialog. SHCOLSTATE_SECONDARYUI = 0x80, /// Not displayed in the UI. SHCOLSTATE_HIDDEN = 0x100, /// VarCmp produces same result as IShellFolder::CompareIDs. SHCOLSTATE_PREFER_VARCMP = 0x200, /// PSFormatForDisplay produces same result as IShellFolder::CompareIDs. SHCOLSTATE_PREFER_FMTCMP = 0x400, /// Do not sort folders separately. SHCOLSTATE_NOSORTBYFOLDERNESS = 0x800, /// Only displayed in the UI. SHCOLSTATE_VIEWONLY = 0x10000, /// Marks columns with values that should be read in a batch. SHCOLSTATE_BATCHREAD = 0x20000, /// Grouping is disabled for this column. SHCOLSTATE_NO_GROUPBY = 0x40000, /// Can't resize the column. SHCOLSTATE_FIXED_WIDTH = 0x1000, /// The width is the same in all dpi. SHCOLSTATE_NODPISCALE = 0x2000, /// Fixed width and height ratio. SHCOLSTATE_FIXED_RATIO = 0x4000, /// Filters out new display flags. SHCOLSTATE_DISPLAYMASK = 0xf000 } } }