Example #1
0
        /// <summary>
        /// String representation of the dialog or control style of one type.
        /// </summary>
        /// <param name="style">Dialog or control style.</param>
        /// <returns>String in the "s1 | s2 | ... | s3" format.</returns>
        internal static string StyleToString <W>(UInt32 style)
        {
            List <string> styles = new List <string>();

            styles.AddRange(ResourceUtil.FlagsToList <W>(style));
            return(String.Join(" | ", styles.ToArray()));
        }