VsBrushes

We found 10 examples in language CSharp for this search. You will see 17 fragments of code.

        private static BitmapSource CreateUacShield() {
            if (Environment.OSVersion.Version.Major >= 6) {
                var sii = new NativeMethods.SHSTOCKICONINFO();
                sii.cbSize = (UInt32)Marshal.SizeOf(typeof(NativeMethods.SHSTOCKICONINFO));

                Marshal.ThrowExceptionForHR(NativeMethods.SHGetStockIconInfo(77, 0x0101, ref sii));
                try {
                    return Imaging.CreateBitmapSourceFromHIcon(
                        sii.hIcon,
                        Int32Rect.Empty,
                        BitmapSizeOptions.FromEmptyOptions());
                } finally {
                    NativeMethods.DestroyIcon(sii.hIcon);
                }
            } else {
                return Imaging.CreateBitmapSourceFromHIcon(
                    SystemIcons.Shield.Handle,
                    Int32Rect.Empty,
                    BitmapSizeOptions.FromEmptyOptions());
            }
        }

/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the Apache License, Version 2.0, please send an email to 
 * [email protected] By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Apache License, Version 2.0.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * ***************************************************************************/

namespace CloudFoundry.VisualStudio.Style
{
    using System;
    using System.Drawing;
    using System.Runtime.InteropServices;
    using System.Windows;
    using System.Windows.Interop;
    using System.Windows.Media.Imaging;
    using Microsoft.VisualStudio.PlatformUI;
    using Microsoft.VisualStudio.Shell;

    public static class ControlColors
    {
        public static readonly object BackgroundKey = VsBrushes.WindowKey;
        public static readonly object BackgroundColorKey = VsColors.WindowKey;
        public static readonly object BackgroundAccentKey = VsBrushes.ButtonFaceKey;
        public static readonly object ForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object GrayTextKey = VsBrushes.GrayTextKey;
        public static readonly object HighlightKey = VsBrushes.HighlightKey;
        public static readonly object HighlightTextKey = VsBrushes.HighlightTextKey;
        public static readonly object HotTrackKey = VsBrushes.CommandBarMouseOverBackgroundGradientKey;

        public static readonly object TooltipBackgroundKey = VsBrushes.InfoBackgroundKey;
        public static readonly object TooltipTextKey = VsBrushes.InfoTextKey;

        public static readonly object HyperlinkKey = VsBrushes.ControlLinkTextKey;
        public static readonly object HyperlinkHoverKey = VsBrushes.ControlLinkTextHoverKey;

        public static readonly object ControlBackgroundKey = VsBrushes.ComboBoxBackgroundKey;
        public static readonly object ControlForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object ControlBorderKey = VsBrushes.ComboBoxBorderKey;
        public static readonly object ControlBackgroundHoverKey = VsBrushes.ComboBoxMouseOverBackgroundGradientKey;
        public static readonly object ControlBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;
        public static readonly object ControlBackgroundPressedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundPressedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderPressedKey = VsBrushes.ComboBoxMouseDownBorderKey;
        public static readonly object ControlBackgroundSelectedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundSelectedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderSelectedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ControlBackgroundDisabledKey = VsBrushes.ComboBoxDisabledBackgroundKey;
        public static readonly object ControlForegroundDisabledKey = VsBrushes.ComboBoxDisabledGlyphKey;
        public static readonly object ControlBorderDisabledKey = VsBrushes.ComboBoxDisabledBorderKey;

        public static readonly object ComboBoxPopupBackgroundKey = VsBrushes.ComboBoxPopupBackgroundGradientKey;
        public static readonly object ComboBoxPopupBorderKey = VsBrushes.ComboBoxPopupBorderKey;
        public static readonly object ComboBoxPopupForegroundKey = VsBrushes.WindowTextKey;

        public static readonly object ButtonForegroundPressedKey = VsBrushes.ToolWindowButtonDownActiveGlyphKey;
        public static readonly object ButtonBackgroundPressedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ButtonBackgroundHoverKey = VsBrushes.CommandBarHoverOverSelectedKey;
        public static readonly object ButtonBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;

        public static readonly object ScrollBarBackgroundKey = VsBrushes.ScrollBarBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundKey = VsBrushes.ScrollBarThumbBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundHoverKey = VsBrushes.ScrollBarThumbMouseOverBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundPressedKey = VsBrushes.ScrollBarThumbPressedBackgroundKey;
        public static readonly object ScrollBarArrowKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowHoverKey = VsBrushes.GrayTextKey;
        public static readonly object ScrollBarArrowPressedKey = VsBrushes.WindowTextKey;
        public static readonly object ScrollBarArrowDisabledKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowBackgroundKey = VsBrushes.ScrollBarArrowBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundHoverKey = VsBrushes.ScrollBarArrowMouseOverBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundPressedKey = VsBrushes.ScrollBarArrowPressedBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundDisabledKey = VsBrushes.ScrollBarArrowDisabledBackgroundKey;

        public static readonly dynamic ListItemSelectedBackgroundKey = TreeViewColors.SelectedItemActiveBrushKey;
        public static readonly dynamic ListItemSelectedForegroundKey = TreeViewColors.SelectedItemActiveTextBrushKey;
        public static readonly object ListItemHoverBackgroundKey = VsBrushes.ComboBoxMouseOverBackgroundGradientKey;
        public static readonly object ListItemHoverForegroundKey = VsBrushes.WindowTextKey;
    }
}

/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the Apache License, Version 2.0, please send an email to 
 * [email protected] By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Apache License, Version 2.0.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * ***************************************************************************/

using System;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Data;
using System.Windows.Interop;
using System.Windows.Media.Imaging;
using Microsoft.VisualStudio.Shell;

namespace Babe.Lua.ToolWindows {
    public static class Controls {
        public static readonly object BackgroundKey = VsBrushes.WindowKey;
        public static readonly object BackgroundAccentKey = VsBrushes.ButtonFaceKey;
        public static readonly object ForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object GrayTextKey = VsBrushes.GrayTextKey;
        public static readonly object HighlightKey = VsBrushes.HighlightKey;
        public static readonly object HighlightTextKey = VsBrushes.HighlightTextKey;
        public static readonly object HotTrackKey = VsBrushes.CommandBarMouseOverBackgroundGradientKey;

        public static readonly object TooltipBackgroundKey = VsBrushes.InfoBackgroundKey;
        public static readonly object TooltipTextKey = VsBrushes.InfoTextKey;

        public static readonly object HyperlinkKey = VsBrushes.ControlLinkTextKey;
        public static readonly object HyperlinkHoverKey = VsBrushes.ControlLinkTextHoverKey;

        public static readonly object ControlBackgroundKey = VsBrushes.ComboBoxBackgroundKey;
        public static readonly object ControlForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object ControlBorderKey = VsBrushes.ComboBoxBorderKey;
        public static readonly object ControlBackgroundHoverKey = VsBrushes.ComboBoxMouseOverBackgroundGradientKey;
        public static readonly object ControlBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;
        public static readonly object ControlBackgroundPressedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundPressedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderPressedKey = VsBrushes.ComboBoxMouseDownBorderKey;
        public static readonly object ControlBackgroundSelectedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundSelectedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderSelectedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ControlBackgroundDisabledKey = VsBrushes.ComboBoxDisabledBackgroundKey;
        public static readonly object ControlForegroundDisabledKey = VsBrushes.ComboBoxDisabledGlyphKey;
        public static readonly object ControlBorderDisabledKey = VsBrushes.ComboBoxDisabledBorderKey;

        public static readonly object ScrollBarBackgroundKey = VsBrushes.ScrollBarBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundKey = VsBrushes.ScrollBarThumbBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundHoverKey = VsBrushes.ScrollBarThumbMouseOverBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundPressedKey = VsBrushes.ScrollBarThumbPressedBackgroundKey;
        public static readonly object ScrollBarArrowKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowHoverKey = VsBrushes.GrayTextKey;
        public static readonly object ScrollBarArrowPressedKey = VsBrushes.WindowTextKey;
        public static readonly object ScrollBarArrowDisabledKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowBackgroundKey = VsBrushes.ScrollBarArrowBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundHoverKey = VsBrushes.ScrollBarArrowMouseOverBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundPressedKey = VsBrushes.ScrollBarArrowPressedBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundDisabledKey = VsBrushes.ScrollBarArrowDisabledBackgroundKey;
    }
}

/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the Apache License, Version 2.0, please send an email to 
 * [email protected] By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Apache License, Version 2.0.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * ***************************************************************************/

using System;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Data;
using System.Windows.Interop;
using System.Windows.Media.Imaging;
using Microsoft.VisualStudio.Shell;

namespace Babe.Lua.ToolWindows {
    public static class Controls {
        public static readonly object BackgroundKey = VsBrushes.WindowKey;
        public static readonly object BackgroundAccentKey = VsBrushes.ButtonFaceKey;
        public static readonly object ForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object GrayTextKey = VsBrushes.GrayTextKey;
        public static readonly object HighlightKey = VsBrushes.HighlightKey;
        public static readonly object HighlightTextKey = VsBrushes.HighlightTextKey;
        public static readonly object HotTrackKey = VsBrushes.CommandBarMouseOverBackgroundGradientKey;

        public static readonly object TooltipBackgroundKey = VsBrushes.InfoBackgroundKey;
        public static readonly object TooltipTextKey = VsBrushes.InfoTextKey;

        public static readonly object HyperlinkKey = VsBrushes.ControlLinkTextKey;
        public static readonly object HyperlinkHoverKey = VsBrushes.ControlLinkTextHoverKey;

        public static readonly object ControlBackgroundKey = VsBrushes.ComboBoxBackgroundKey;
        public static readonly object ControlForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object ControlBorderKey = VsBrushes.ComboBoxBorderKey;
        public static readonly object ControlBackgroundHoverKey = VsBrushes.ComboBoxMouseOverBackgroundGradientKey;
        public static readonly object ControlBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;
        public static readonly object ControlBackgroundPressedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundPressedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderPressedKey = VsBrushes.ComboBoxMouseDownBorderKey;
        public static readonly object ControlBackgroundSelectedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundSelectedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderSelectedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ControlBackgroundDisabledKey = VsBrushes.ComboBoxDisabledBackgroundKey;
        public static readonly object ControlForegroundDisabledKey = VsBrushes.ComboBoxDisabledGlyphKey;
        public static readonly object ControlBorderDisabledKey = VsBrushes.ComboBoxDisabledBorderKey;

        public static readonly object ScrollBarBackgroundKey = VsBrushes.ScrollBarBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundKey = VsBrushes.ScrollBarThumbBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundHoverKey = VsBrushes.ScrollBarThumbMouseOverBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundPressedKey = VsBrushes.ScrollBarThumbPressedBackgroundKey;
        public static readonly object ScrollBarArrowKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowHoverKey = VsBrushes.GrayTextKey;
        public static readonly object ScrollBarArrowPressedKey = VsBrushes.WindowTextKey;
        public static readonly object ScrollBarArrowDisabledKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowBackgroundKey = VsBrushes.ScrollBarArrowBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundHoverKey = VsBrushes.ScrollBarArrowMouseOverBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundPressedKey = VsBrushes.ScrollBarArrowPressedBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundDisabledKey = VsBrushes.ScrollBarArrowDisabledBackgroundKey;
    }
}


        private static BitmapSource CreateUacShield() {
            if (Environment.OSVersion.Version.Major >= 6) {
                var sii = new NativeMethods.SHSTOCKICONINFO();
                sii.cbSize = (UInt32)Marshal.SizeOf(typeof(NativeMethods.SHSTOCKICONINFO));

                Marshal.ThrowExceptionForHR(NativeMethods.SHGetStockIconInfo(77, 0x0101, ref sii));
                try {
                    return Imaging.CreateBitmapSourceFromHIcon(
                        sii.hIcon,
                        Int32Rect.Empty,
                        BitmapSizeOptions.FromEmptyOptions());
                } finally {
                    NativeMethods.DestroyIcon(sii.hIcon);
                }
            } else {
                return Imaging.CreateBitmapSourceFromHIcon(
                    SystemIcons.Shield.Handle,
                    Int32Rect.Empty,
                    BitmapSizeOptions.FromEmptyOptions());
            }
        }

/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the Apache License, Version 2.0, please send an email to 
 * [email protected] By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Apache License, Version 2.0.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * ***************************************************************************/

using System;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Data;
using System.Windows.Interop;
using System.Windows.Media.Imaging;
using Microsoft.VisualStudio.Shell;

namespace Babe.Lua.ToolWindows {
    public static class Controls {
        public static readonly object BackgroundKey = VsBrushes.WindowKey;
        public static readonly object BackgroundAccentKey = VsBrushes.ButtonFaceKey;
        public static readonly object ForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object GrayTextKey = VsBrushes.GrayTextKey;
        public static readonly object HighlightKey = VsBrushes.HighlightKey;
        public static readonly object HighlightTextKey = VsBrushes.HighlightTextKey;
        public static readonly object HotTrackKey = VsBrushes.CommandBarMouseOverBackgroundGradientKey;

        public static readonly object TooltipBackgroundKey = VsBrushes.InfoBackgroundKey;
        public static readonly object TooltipTextKey = VsBrushes.InfoTextKey;

        public static readonly object HyperlinkKey = VsBrushes.ControlLinkTextKey;
        public static readonly object HyperlinkHoverKey = VsBrushes.ControlLinkTextHoverKey;

        public static readonly object ControlBackgroundKey = VsBrushes.ComboBoxBackgroundKey;
        public static readonly object ControlForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object ControlBorderKey = VsBrushes.ComboBoxBorderKey;
        public static readonly object ControlBackgroundHoverKey = VsBrushes.ComboBoxMouseOverBackgroundGradientKey;
        public static readonly object ControlBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;
        public static readonly object ControlBackgroundPressedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundPressedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderPressedKey = VsBrushes.ComboBoxMouseDownBorderKey;
        public static readonly object ControlBackgroundSelectedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundSelectedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderSelectedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ControlBackgroundDisabledKey = VsBrushes.ComboBoxDisabledBackgroundKey;
        public static readonly object ControlForegroundDisabledKey = VsBrushes.ComboBoxDisabledGlyphKey;
        public static readonly object ControlBorderDisabledKey = VsBrushes.ComboBoxDisabledBorderKey;

        public static readonly object ScrollBarBackgroundKey = VsBrushes.ScrollBarBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundKey = VsBrushes.ScrollBarThumbBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundHoverKey = VsBrushes.ScrollBarThumbMouseOverBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundPressedKey = VsBrushes.ScrollBarThumbPressedBackgroundKey;
        public static readonly object ScrollBarArrowKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowHoverKey = VsBrushes.GrayTextKey;
        public static readonly object ScrollBarArrowPressedKey = VsBrushes.WindowTextKey;
        public static readonly object ScrollBarArrowDisabledKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowBackgroundKey = VsBrushes.ScrollBarArrowBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundHoverKey = VsBrushes.ScrollBarArrowMouseOverBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundPressedKey = VsBrushes.ScrollBarArrowPressedBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundDisabledKey = VsBrushes.ScrollBarArrowDisabledBackgroundKey;
    }
}


        private static BitmapSource CreateUacShield() {
            if (Environment.OSVersion.Version.Major >= 6) {
                var sii = new NativeMethods.SHSTOCKICONINFO();
                sii.cbSize = (UInt32)Marshal.SizeOf(typeof(NativeMethods.SHSTOCKICONINFO));

                Marshal.ThrowExceptionForHR(NativeMethods.SHGetStockIconInfo(77, 0x0101, ref sii));
                try {
                    return Imaging.CreateBitmapSourceFromHIcon(
                        sii.hIcon,
                        Int32Rect.Empty,
                        BitmapSizeOptions.FromEmptyOptions());
                } finally {
                    NativeMethods.DestroyIcon(sii.hIcon);
                }
            } else {
                return Imaging.CreateBitmapSourceFromHIcon(
                    SystemIcons.Shield.Handle,
                    Int32Rect.Empty,
                    BitmapSizeOptions.FromEmptyOptions());
            }
        }

        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) {
            return (value as bool? == true) ? IfTrue : IfFalse;
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) {
            return (value == IfTrue);
        }

        public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) {
            return values.All(b => b as bool? == true) ? IfTrue : IfFalse;
        }

        public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) {
            throw new NotImplementedException();
        }

        protected override void Process(SetResourcePipeline pipeline)
        {
            Debug.ArgumentNotNull(pipeline, nameof(pipeline));

            var resourceDictionary = pipeline.FrameworkElement.Resources;
            RemoveDictionaries(resourceDictionary);

            var appTheme = AppHost.Options.AppTheme;
            if (appTheme == AppTheme.System)
            {
                return;
            }

            if (appTheme == AppTheme.Automatic)
            {
                appTheme = AppHost.Shell.VisualStudioTheme;
            }

            if (appTheme == AppTheme.Dark)
            {
                AddStandardTheme(resourceDictionary);
                MapSystemColors(resourceDictionary, pipeline.FrameworkElement);
            }
        }

        private void AddStandardTheme([NotNull] ResourceDictionary resourceDictionary)
        {
            Debug.ArgumentNotNull(resourceDictionary, nameof(resourceDictionary));

            var dictionary = new RocksResourceDictionary
            {
                Source = new Uri("pack://application:,,,/Sitecore.Rocks.VisualStudio;component/Resources/Theme.xaml")
            };

            resourceDictionary.MergedDictionaries.Add(dictionary);

            dictionary = new RocksResourceDictionary
            {
                Source = new Uri("pack://application:,,,/Sitecore.Rocks.VisualStudio;component/Resources/Themes/Styles.xaml")
            };

            resourceDictionary.MergedDictionaries.Add(dictionary);
        }

        private void MapSystemColors([NotNull] ResourceDictionary resourceDictionary, [NotNull] FrameworkElement frameworkElement)
        {
            Debug.ArgumentNotNull(resourceDictionary, nameof(resourceDictionary));
            Debug.ArgumentNotNull(frameworkElement, nameof(frameworkElement));

            var dictionary = new ResourceDictionary();
            resourceDictionary.MergedDictionaries.Add(dictionary);

            /*
            dictionary.Add(AppColors.CommandBarBrushKey, frameworkElement.TryFindResource(VsBrushes.CommandBarGradientKey));
            dictionary.Add(AppColors.LabelTextBrushKey, frameworkElement.TryFindResource(VsBrushes.GrayTextKey));
            dictionary.Add(AppColors.ProjectBackgroundGradientBrushKey, frameworkElement.TryFindResource(VsBrushes.ToolWindowBackgroundKey));
            dictionary.Add(AppColors.ToolWindowBackgroundBrushKey, frameworkElement.TryFindResource(VsBrushes.ToolWindowBackgroundKey));
            dictionary.Add(AppColors.ToolWindowBorderBrushKey, frameworkElement.TryFindResource(VsBrushes.ToolWindowBorderKey));
            */

            /*
            dictionary.Add(SystemColors.MenuBrushKey, frameworkElement.TryFindResource(VsBrushes.MenuKey));
            dictionary.Add(SystemColors.MenuTextBrushKey, frameworkElement.TryFindResource(VsBrushes.MenuTextKey));
            */

            dictionary.Add(SystemColors.ActiveBorderBrushKey, frameworkElement.TryFindResource(VsBrushes.ActiveBorderKey));
            dictionary.Add(SystemColors.ActiveCaptionBrushKey, frameworkElement.TryFindResource(VsBrushes.ActiveCaptionKey));
            dictionary.Add(SystemColors.AppWorkspaceBrushKey, frameworkElement.TryFindResource(VsBrushes.AppWorkspaceKey));

            dictionary.Add(SystemColors.ControlLightLightBrushKey, frameworkElement.TryFindResource(VsBrushes.AccentPaleKey));
            dictionary.Add(SystemColors.ControlLightBrushKey, frameworkElement.TryFindResource(VsBrushes.AccentLightKey));
            dictionary.Add(SystemColors.ControlBrushKey, frameworkElement.TryFindResource(VsBrushes.EnvironmentBackgroundKey));
            dictionary.Add(SystemColors.ControlDarkBrushKey, frameworkElement.TryFindResource(VsBrushes.AccentMediumKey));
            dictionary.Add(SystemColors.ControlDarkDarkBrushKey, frameworkElement.TryFindResource(VsBrushes.AccentDarkKey));
            dictionary.Add(SystemColors.ControlTextBrushKey, frameworkElement.TryFindResource(VsBrushes.CaptionTextKey));

            dictionary.Add(SystemColors.WindowBrushKey, frameworkElement.TryFindResource(VsBrushes.WindowKey));
            dictionary.Add(SystemColors.WindowTextBrushKey, frameworkElement.TryFindResource(VsBrushes.WindowTextKey));
            dictionary.Add(SystemColors.WindowFrameBrushKey, frameworkElement.TryFindResource(VsBrushes.WindowFrameKey));

            dictionary.Add(SystemColors.GrayTextBrushKey, frameworkElement.TryFindResource(VsBrushes.GrayTextKey));

            dictionary.Add(SystemColors.HighlightBrushKey, frameworkElement.TryFindResource(VsBrushes.HighlightKey));
            dictionary.Add(SystemColors.HighlightTextBrushKey, frameworkElement.TryFindResource(VsBrushes.HighlightTextKey));

            dictionary.Add(SystemColors.InactiveBorderBrushKey, frameworkElement.TryFindResource(VsBrushes.InactiveBorderKey));
            dictionary.Add(SystemColors.InactiveCaptionBrushKey, frameworkElement.TryFindResource(VsBrushes.InactiveCaptionKey));
            dictionary.Add(SystemColors.InactiveCaptionTextBrushKey, frameworkElement.TryFindResource(VsBrushes.InactiveCaptionTextKey));

            dictionary.Add(SystemColors.InfoBrushKey, frameworkElement.TryFindResource(VsBrushes.InfoBackgroundKey));
            dictionary.Add(SystemColors.InfoTextBrushKey, frameworkElement.TryFindResource(VsBrushes.InfoTextKey));
        }

        private void RemoveDictionaries([NotNull] ResourceDictionary resources)
        {
            Debug.ArgumentNotNull(resources, nameof(resources));

            var mergedDictionaries = resources.MergedDictionaries;

            for (var index = mergedDictionaries.Count - 1; index >= 0; index--)
            {
                var dictionary = mergedDictionaries[index] as RocksResourceDictionary;
                if (dictionary != null)
                {
                    mergedDictionaries.Remove(dictionary);
                }
            }
        }

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.VisualStudio.Shell;

namespace PowerShellTools.Explorer
{
    public static class ThemeResources
    {
        public static object WindowBackground
        {
            get
            {
                return VsBrushes.WindowKey;
            }
        }

        public static object WindowForeground
        {
            get
            {
                return VsBrushes.WindowTextKey;
            }
        }

        public static object AccentLight
        {
            get
            {
                return VsBrushes.AccentLightKey;
            }
        }

        public static object AccentDark
        {
            get
            {
                return VsBrushes.AccentDarkKey;
            }
        }

        public static object Border
        {
            get
            {
                return VsBrushes.ControlOutlineKey;
            }
        }

        public static object Highlight
        {
            get
            {
                return VsBrushes.HighlightKey;
            }
        }

        public static object GrayText
        {
            get
            {
                return VsBrushes.GrayTextKey;
            }
        }

        public static object ComboBoxBorder
        {
            get
            {
                return VsBrushes.ComboBoxBorderKey;
            }
        }

        public static object ComboBoxBackground
        {
            get
            {
                return VsBrushes.ComboBoxBackgroundKey;
            }
        }

        public static object DropDownBackground
        {
            get
            {
                return VsBrushes.DropDownBackgroundKey;
            }
        }

        public static object DropDownBorder
        {
            get
            {
                return VsBrushes.DropDownBorderKey;
            }
        }

        public static object RequiredHighlight
        {
            get
            {
                return VsBrushes.SmartTagBorderKey;
            }
        }
    }
}

// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.

using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media.Imaging;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;

namespace Microsoft.VisualStudioTools.Wpf
{
    public static class Controls
    {
        public static readonly object BackgroundKey = VsBrushes.WindowKey;
        public static readonly object BackgroundColorKey = VsColors.WindowKey;
        public static readonly object BackgroundAccentKey = VsBrushes.ButtonFaceKey;
        public static readonly object ForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object GrayTextKey = VsBrushes.GrayTextKey;
        public static readonly object HighlightKey = VsBrushes.HighlightKey;
        public static readonly object HighlightTextKey = VsBrushes.HighlightTextKey;
        public static readonly object HotTrackKey = VsBrushes.CommandBarMouseOverBackgroundGradientKey;

        public static readonly object TooltipBackgroundKey = VsBrushes.InfoBackgroundKey;
        public static readonly object TooltipTextKey = VsBrushes.InfoTextKey;

        public static readonly object HyperlinkKey = VsBrushes.ControlLinkTextKey;
        public static readonly object HyperlinkHoverKey = VsBrushes.ControlLinkTextHoverKey;

        public static readonly object ControlBackgroundKey = VsBrushes.ComboBoxBackgroundKey;
        public static readonly object ControlForegroundKey = VsBrushes.WindowTextKey;
        public static readonly object ControlBorderKey = VsBrushes.ComboBoxBorderKey;
        public static readonly object ControlBackgroundHoverKey = VsBrushes.ComboBoxMouseOverBackgroundGradientKey;
        public static readonly object ControlBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;
        public static readonly object ControlBackgroundPressedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundPressedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderPressedKey = VsBrushes.ComboBoxMouseDownBorderKey;
        public static readonly object ControlBackgroundSelectedKey = VsBrushes.ComboBoxMouseDownBackgroundKey;
        public static readonly object ControlForegroundSelectedKey = VsBrushes.ComboBoxGlyphKey;
        public static readonly object ControlBorderSelectedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ControlBackgroundDisabledKey = VsBrushes.ComboBoxDisabledBackgroundKey;
        public static readonly object ControlForegroundDisabledKey = VsBrushes.ComboBoxDisabledGlyphKey;
        public static readonly object ControlBorderDisabledKey = VsBrushes.ComboBoxDisabledBorderKey;

        public static readonly object ComboBoxPopupBackgroundKey = VsBrushes.ComboBoxPopupBackgroundGradientKey;
        public static readonly object ComboBoxPopupBorderKey = VsBrushes.ComboBoxPopupBorderKey;
        public static readonly object ComboBoxPopupForegroundKey = VsBrushes.WindowTextKey;

        public static readonly object ButtonForegroundPressedKey = VsBrushes.ToolWindowButtonDownActiveGlyphKey;
        public static readonly object ButtonBackgroundPressedKey = VsBrushes.ComboBoxMouseOverBorderKey;
        public static readonly object ButtonBackgroundHoverKey = VsBrushes.CommandBarHoverOverSelectedKey;
        public static readonly object ButtonBorderHoverKey = VsBrushes.ComboBoxMouseOverGlyphKey;

        public static readonly object ScrollBarBackgroundKey = VsBrushes.ScrollBarBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundKey = VsBrushes.ScrollBarThumbBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundHoverKey = VsBrushes.ScrollBarThumbMouseOverBackgroundKey;
        public static readonly object ScrollBarThumbBackgroundPressedKey = VsBrushes.ScrollBarThumbPressedBackgroundKey;
        public static readonly object ScrollBarArrowKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowHoverKey = VsBrushes.GrayTextKey;
        public static readonly object ScrollBarArrowPressedKey = VsBrushes.WindowTextKey;
        public static readonly object ScrollBarArrowDisabledKey = VsBrushes.ScrollBarThumbGlyphKey;
        public static readonly object ScrollBarArrowBackgroundKey = VsBrushes.ScrollBarArrowBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundHoverKey = VsBrushes.ScrollBarArrowMouseOverBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundPressedKey = VsBrushes.ScrollBarArrowPressedBackgroundKey;
        public static readonly object ScrollBarArrowBackgroundDisabledKey = VsBrushes.ScrollBarArrowDisabledBackgroundKey;
        public static readonly object SearchGlyphBrushKey = SearchControlColors.SearchGlyphBrushKey;
    }
}

Microsoft.VisualStudio.Shell.VsBrushes : Object

Methods :

public static Object get_SideBarGradientKey()
public static Object get_ToolboxGradientKey()
public static Object get_ToolboxHeadingGradientKey()
public static Object get_ToolWindowTabGradientKey()
public static Object get_FileTabHotGradientKey()
public static Object get_ToolWindowTabMouseOverBackgroundGradientKey()
public static Object get_AutoHideTabBackgroundVerticalGradientKey()
public static Object get_AutoHideTabBackgroundHorizontalGradientKey()
public static Object get_AutoHideTabMouseOverBackgroundVerticalGradientKey()
public static Object get_AutoHideTabMouseOverBackgroundHorizontalGradientKey()
public static Object get_EnvironmentBackgroundGradientKey()
public static Object get_ComboBoxMouseOverBackgroundGradientKey()
public static Object get_ComboBoxPopupBackgroundGradientKey()
public static Object get_CommandShelfHighlightGradientKey()
public static Object get_CommandShelfBackgroundGradientKey()
public static Object get_CommandBarGradientKey()
public static Object get_CommandBarHorizontalGradientKey()
public static Object get_CommandBarMouseOverBackgroundGradientKey()
public static Object get_CommandBarMouseDownBackgroundGradientKey()
public static Object get_CommandBarOptionsMouseOverBackgroundHorizontalGradientKey()
public static Object get_CommandBarOptionsMouseDownBackgroundHorizontalGradientKey()
public static Object get_CommandBarOptionsMouseOverBackgroundVerticalGradientKey()
public static Object get_CommandBarOptionsMouseDownBackgroundVerticalGradientKey()
public static Object get_CommandBarMenuBackgroundGradientKey()
public static Object get_DockTargetButtonBackgroundGradientKey()
public static Object get_DockTargetGlyphBackgroundGradientKey()
public static Object get_DropDownMouseOverBackgroundGradientKey()
public static Object get_DropDownPopupBackgroundGradientKey()
public static Object get_FileTabSelectedGradientKey()
public static Object get_FileTabInactiveGradientKey()
public static Object get_TitleBarActiveGradientKey()
public static Object get_FileTabLastActiveGradientKey()
public static Object get_NewProjectProviderHoverGradientKey()
public static Object get_NewProjectProviderInactiveGradientKey()
public static Object get_NewProjectItemInactiveGradientKey()
public static Object get_ToolboxSelectedHeadingGradientKey()
public static Object get_TitleBarInactiveGradientKey()
public static Object get_StartPageBackgroundKey()
public static Object get_StartPageButtonMouseOverBackgroundKey()
public static Object get_StartPageTabBackgroundKey()
public static Object get_StartPageTabMouseOverBackgroundKey()
public static Object get_StartPageUnselectedItemBackgroundKey()
public static Object get_TitleBarInactiveGradientBeginKey()
public static Object get_TitleBarInactiveGradientEndKey()
public static Object get_TitleBarInactiveTextKey()
public static Object get_ToolboxBackgroundKey()
public static Object get_ToolboxDividerKey()
public static Object get_ToolboxGradientDarkKey()
public static Object get_ToolboxGradientLightKey()
public static Object get_ToolboxHeadingAccentKey()
public static Object get_ToolboxHeadingBeginKey()
public static Object get_ToolboxHeadingEndKey()
public static Object get_ToolboxIconHighlightKey()
public static Object get_ToolboxIconShadowKey()
public static Object get_ToolboxSelectedHeadingBeginKey()
public static Object get_ToolboxSelectedHeadingEndKey()
public static Object get_ToolboxSelectedHeadingMiddle1Key()
public static Object get_ToolboxSelectedHeadingMiddle2Key()
public static Object get_ToolWindowBackgroundKey()
public static Object get_ToolWindowBorderKey()
public static Object get_ToolWindowButtonActiveGlyphKey()
public static Object get_ToolWindowButtonDownKey()
public static Object get_ToolWindowButtonDownActiveGlyphKey()
public static Object get_ToolWindowButtonDownBorderKey()
public static Object get_ToolWindowButtonDownInactiveGlyphKey()
public static Object get_ToolWindowButtonHoverActiveKey()
public static Object get_ToolWindowButtonHoverActiveBorderKey()
public static Object get_ToolWindowButtonHoverActiveGlyphKey()
public static Object get_ToolWindowButtonHoverInactiveKey()
public static Object get_ToolWindowButtonHoverInactiveBorderKey()
public static Object get_ToolWindowButtonHoverInactiveGlyphKey()
public static Object get_ToolWindowButtonInactiveKey()
public static Object get_ToolWindowButtonInactiveBorderKey()
public static Object get_ToolWindowButtonInactiveGlyphKey()
public static Object get_ToolWindowContentTabGradientBeginKey()
public static Object get_ToolWindowContentTabGradientEndKey()
public static Object get_ToolWindowFloatingFrameKey()
public static Object get_ToolWindowTabBorderKey()
public static Object get_ToolWindowTabGradientBeginKey()
public static Object get_ToolWindowTabGradientEndKey()
public static Object get_ToolWindowTabMouseOverBackgroundBeginKey()
public static Object get_ToolWindowTabMouseOverBackgroundEndKey()
public static Object get_ToolWindowTabMouseOverBorderKey()
public static Object get_ToolWindowTabMouseOverTextKey()
public static Object get_ToolWindowTabSelectedTabKey()
public static Object get_ToolWindowTabSelectedTextKey()
public static Object get_ToolWindowTabTextKey()
public static Object get_ToolWindowTextKey()
public static Object get_VizSurfaceBrownDarkKey()
public static Object get_VizSurfaceBrownLightKey()
public static Object get_VizSurfaceBrownMediumKey()
public static Object get_VizSurfaceDarkGoldDarkKey()
public static Object get_VizSurfaceDarkGoldLightKey()
public static Object get_VizSurfaceDarkGoldMediumKey()
public static Object get_VizSurfaceGoldDarkKey()
public static Object get_VizSurfaceGoldLightKey()
public static Object get_VizSurfaceGoldMediumKey()
public static Object get_VizSurfaceGreenDarkKey()
public static Object get_VizSurfaceGreenLightKey()
public static Object get_VizSurfaceGreenMediumKey()
public static Object get_VizSurfacePlumDarkKey()
public static Object get_VizSurfacePlumLightKey()
public static Object get_VizSurfacePlumMediumKey()
public static Object get_VizSurfaceRedDarkKey()
public static Object get_VizSurfaceRedLightKey()
public static Object get_VizSurfaceRedMediumKey()
public static Object get_VizSurfaceSoftBlueDarkKey()
public static Object get_VizSurfaceSoftBlueLightKey()
public static Object get_VizSurfaceSoftBlueMediumKey()
public static Object get_VizSurfaceSteelBlueDarkKey()
public static Object get_VizSurfaceSteelBlueLightKey()
public static Object get_VizSurfaceSteelBlueMediumKey()
public static Object get_VizSurfaceStrongBlueDarkKey()
public static Object get_VizSurfaceStrongBlueLightKey()
public static Object get_VizSurfaceStrongBlueMediumKey()
public static Object get_WindowKey()
public static Object get_WindowFrameKey()
public static Object get_WindowTextKey()
public static Object get_WizardOrientationPanelBackgroundKey()
public static Object get_WizardOrientationPanelTextKey()
public static Object get_EnvironmentBackgroundTextureKey()
public static Object get_FileTabGradientKey()
public static Object get_PanelGradientKey()
public static Object get_ProjectDesignerBackgroundGradientKey()
public static Object get_ProjectDesignerTabBackgroundGradientKey()
public static Object get_ProjectDesignerTabSepBottomGradientKey()
public static Object get_ProjectDesignerTabSepTopGradientKey()
public static Object get_ScrollBarArrowBackgroundKey()
public static Object get_ScrollBarArrowDisabledBackgroundKey()
public static Object get_ScrollBarArrowMouseOverBackgroundKey()
public static Object get_ScrollBarArrowPressedBackgroundKey()
public static Object get_ScrollBarBackgroundKey()
public static Object get_ScrollBarDisabledBackgroundKey()
public static Object get_ScrollBarThumbBackgroundKey()
public static Object get_ScrollBarThumbBorderKey()
public static Object get_ScrollBarThumbGlyphKey()
public static Object get_ScrollBarThumbMouseOverBackgroundKey()
public static Object get_ScrollBarThumbPressedBackgroundKey()
public static Object get_SearchBoxBackgroundKey()
public static Object get_SearchBoxBorderKey()
public static Object get_SearchBoxMouseOverBackgroundBeginKey()
public static Object get_SearchBoxMouseOverBackgroundEndKey()
public static Object get_SearchBoxMouseOverBackgroundMiddle1Key()
public static Object get_SearchBoxMouseOverBackgroundMiddle2Key()
public static Object get_SearchBoxMouseOverBorderKey()
public static Object get_SearchBoxPressedBackgroundKey()
public static Object get_SearchBoxPressedBorderKey()
public static Object get_SideBarBackgroundKey()
public static Object get_SideBarGradientDarkKey()
public static Object get_SideBarGradientLightKey()
public static Object get_SideBarTextKey()
public static Object get_SmartTagBorderKey()
public static Object get_SmartTagFillKey()
public static Object get_SmartTagHoverBorderKey()
public static Object get_SmartTagHoverFillKey()
public static Object get_SmartTagHoverTextKey()
public static Object get_SmartTagTextKey()
public static Object get_SnaplinesKey()
public static Object get_SnaplinesPaddingKey()
public static Object get_SnaplinesTextBaselineKey()
public static Object get_SortBackgroundKey()
public static Object get_SortTextKey()
public static Object get_SplashScreenBorderKey()
public static Object get_StartPageBackgroundGradientBeginKey()
public static Object get_StartPageBackgroundGradientEndKey()
public static Object get_StartPageButtonBorderKey()
public static Object get_StartPageButtonMouseOverBackgroundBeginKey()
public static Object get_StartPageButtonMouseOverBackgroundEndKey()
public static Object get_StartPageButtonMouseOverBackgroundMiddle1Key()
public static Object get_StartPageButtonMouseOverBackgroundMiddle2Key()
public static Object get_StartPageButtonPinDownKey()
public static Object get_StartPageButtonPinHoverKey()
public static Object get_StartPageButtonPinnedKey()
public static Object get_StartPageButtonTextKey()
public static Object get_StartPageButtonTextHoverKey()
public static Object get_StartPageButtonUnpinnedKey()
public static Object get_StartPageSelectedItemBackgroundKey()
public static Object get_StartPageSelectedItemStrokeKey()
public static Object get_StartPageSeparatorKey()
public static Object get_StartPageTabBackgroundBeginKey()
public static Object get_StartPageTabBackgroundEndKey()
public static Object get_StartPageTabMouseOverBackgroundBeginKey()
public static Object get_StartPageTabMouseOverBackgroundEndKey()
public static Object get_StartPageTextBodyKey()
public static Object get_StartPageTextBodySelectedKey()
public static Object get_StartPageTextBodyUnselectedKey()
public static Object get_StartPageTextControlLinkSelectedKey()
public static Object get_StartPageTextControlLinkSelectedHoverKey()
public static Object get_StartPageTextDateKey()
public static Object get_StartPageTextHeadingKey()
public static Object get_StartPageTextHeadingMouseOverKey()
public static Object get_StartPageTextHeadingSelectedKey()
public static Object get_StartPageTextSubHeadingKey()
public static Object get_StartPageTextSubHeadingMouseOverKey()
public static Object get_StartPageTextSubHeadingSelectedKey()
public static Object get_StartPageUnselectedItemBackgroundBeginKey()
public static Object get_StartPageUnselectedItemBackgroundEndKey()
public static Object get_StartPageUnselectedItemStrokeKey()
public static Object get_StatusBarTextKey()
public static Object get_TaskListGridLinesKey()
public static Object get_ThreeDDarkShadowKey()
public static Object get_ThreeDFaceKey()
public static Object get_ThreeDHighlightKey()
public static Object get_ThreeDLightShadowKey()
public static Object get_ThreeDShadowKey()
public static Object get_TitleBarActiveKey()
public static Object get_TitleBarActiveGradientBeginKey()
public static Object get_TitleBarActiveGradientEndKey()
public static Object get_TitleBarActiveGradientMiddle1Key()
public static Object get_TitleBarActiveGradientMiddle2Key()
public static Object get_TitleBarActiveTextKey()
public static Object get_TitleBarInactiveKey()
public static Object get_HelpSearchBackgroundKey()
public static Object get_HelpSearchBorderKey()
public static Object get_HelpSearchFilterBackgroundKey()
public static Object get_HelpSearchFilterBorderKey()
public static Object get_HelpSearchFilterTextKey()
public static Object get_HelpSearchFrameBackgroundKey()
public static Object get_HelpSearchFrameTextKey()
public static Object get_HelpSearchPanelRulesKey()
public static Object get_HelpSearchProviderIconKey()
public static Object get_HelpSearchProviderSelectedBackgroundKey()
public static Object get_HelpSearchProviderSelectedTextKey()
public static Object get_HelpSearchProviderUnselectedBackgroundKey()
public static Object get_HelpSearchProviderUnselectedTextKey()
public static Object get_HelpSearchResultLinkSelectedKey()
public static Object get_HelpSearchResultLinkUnselectedKey()
public static Object get_HelpSearchResultSelectedBackgroundKey()
public static Object get_HelpSearchResultSelectedTextKey()
public static Object get_HelpSearchTextKey()
public static Object get_HighlightKey()
public static Object get_HighlightTextKey()
public static Object get_InactiveBorderKey()
public static Object get_InactiveCaptionKey()
public static Object get_InactiveCaptionTextKey()
public static Object get_InfoBackgroundKey()
public static Object get_InfoTextKey()
public static Object get_MdiClientBorderKey()
public static Object get_MenuKey()
public static Object get_MenuTextKey()
public static Object get_NewProjectBackgroundKey()
public static Object get_NewProjectItemInactiveBeginKey()
public static Object get_NewProjectItemInactiveBorderKey()
public static Object get_NewProjectItemInactiveEndKey()
public static Object get_NewProjectItemSelectedKey()
public static Object get_NewProjectItemSelectedBorderKey()
public static Object get_NewProjectProviderHoverBeginKey()
public static Object get_NewProjectProviderHoverEndKey()
public static Object get_NewProjectProviderHoverForegroundKey()
public static Object get_NewProjectProviderHoverMiddle1Key()
public static Object get_NewProjectProviderHoverMiddle2Key()
public static Object get_NewProjectProviderInactiveBeginKey()
public static Object get_NewProjectProviderInactiveEndKey()
public static Object get_NewProjectProviderInactiveForegroundKey()
public static Object get_PageContentExpanderChevronKey()
public static Object get_PageContentExpanderSeparatorKey()
public static Object get_PageSideBarExpanderBodyKey()
public static Object get_PageSideBarExpanderChevronKey()
public static Object get_PageSideBarExpanderHeaderKey()
public static Object get_PageSideBarExpanderHeaderHoverKey()
public static Object get_PageSideBarExpanderHeaderPressedKey()
public static Object get_PageSideBarExpanderSeparatorKey()
public static Object get_PageSideBarExpanderTextKey()
public static Object get_PanelBorderKey()
public static Object get_PanelGradientDarkKey()
public static Object get_PanelGradientLightKey()
public static Object get_PanelHoverOverCloseBorderKey()
public static Object get_PanelHoverOverCloseFillKey()
public static Object get_PanelHyperlinkKey()
public static Object get_PanelHyperlinkHoverKey()
public static Object get_PanelHyperlinkPressedKey()
public static Object get_PanelSeparatorKey()
public static Object get_PanelSubGroupSeparatorKey()
public static Object get_PanelTextKey()
public static Object get_PanelTitleBarKey()
public static Object get_PanelTitleBarTextKey()
public static Object get_PanelTitleBarUnselectedKey()
public static Object get_ProjectDesignerBackgroundGradientBeginKey()
public static Object get_ProjectDesignerBackgroundGradientEndKey()
public static Object get_ProjectDesignerBorderInsideKey()
public static Object get_ProjectDesignerBorderOutsideKey()
public static Object get_ProjectDesignerContentsBackgroundKey()
public static Object get_ProjectDesignerTabBackgroundGradientBeginKey()
public static Object get_ProjectDesignerTabBackgroundGradientEndKey()
public static Object get_ProjectDesignerTabSelectedBackgroundKey()
public static Object get_ProjectDesignerTabSelectedBorderKey()
public static Object get_ProjectDesignerTabSelectedHighlight1Key()
public static Object get_ProjectDesignerTabSelectedHighlight2Key()
public static Object get_ProjectDesignerTabSelectedInsideBorderKey()
public static Object get_ProjectDesignerTabSepBottomGradientBeginKey()
public static Object get_ProjectDesignerTabSepBottomGradientEndKey()
public static Object get_ProjectDesignerTabSepTopGradientBeginKey()
public static Object get_ProjectDesignerTabSepTopGradientEndKey()
public static Object get_ScreenTipBackgroundKey()
public static Object get_ScreenTipBorderKey()
public static Object get_ScreenTipTextKey()
public static Object get_ScrollBarKey()
public static Object get_DockTargetButtonBorderKey()
public static Object get_DockTargetGlyphArrowKey()
public static Object get_DockTargetGlyphBackgroundBeginKey()
public static Object get_DockTargetGlyphBackgroundEndKey()
public static Object get_DockTargetGlyphBorderKey()
public static Object get_DropDownBackgroundKey()
public static Object get_DropDownBorderKey()
public static Object get_DropDownDisabledBackgroundKey()
public static Object get_DropDownDisabledBorderKey()
public static Object get_DropDownDisabledGlyphKey()
public static Object get_DropDownGlyphKey()
public static Object get_DropDownMouseDownBackgroundKey()
public static Object get_DropDownMouseDownBorderKey()
public static Object get_DropDownMouseOverBackgroundBeginKey()
public static Object get_DropDownMouseOverBackgroundEndKey()
public static Object get_DropDownMouseOverBackgroundMiddle1Key()
public static Object get_DropDownMouseOverBackgroundMiddle2Key()
public static Object get_DropDownMouseOverBorderKey()
public static Object get_DropDownMouseOverGlyphKey()
public static Object get_DropDownPopupBackgroundBeginKey()
public static Object get_DropDownPopupBackgroundEndKey()
public static Object get_DropDownPopupBorderKey()
public static Object get_DropShadowBackgroundKey()
public static Object get_EditorExpansionBorderKey()
public static Object get_EditorExpansionFillKey()
public static Object get_EditorExpansionLinkKey()
public static Object get_EditorExpansionTextKey()
public static Object get_EnvironmentBackgroundKey()
public static Object get_EnvironmentBackgroundGradientBeginKey()
public static Object get_EnvironmentBackgroundGradientEndKey()
public static Object get_EnvironmentBackgroundGradientMiddle1Key()
public static Object get_EnvironmentBackgroundGradientMiddle2Key()
public static Object get_EnvironmentBackgroundTexture1Key()
public static Object get_EnvironmentBackgroundTexture2Key()
public static Object get_ExtensionManagerStarHighlight1Key()
public static Object get_ExtensionManagerStarHighlight2Key()
public static Object get_ExtensionManagerStarInactive1Key()
public static Object get_ExtensionManagerStarInactive2Key()
public static Object get_FileTabBorderKey()
public static Object get_FileTabChannelBackgroundKey()
public static Object get_FileTabDocumentBorderBackgroundKey()
public static Object get_FileTabDocumentBorderHighlightKey()
public static Object get_FileTabDocumentBorderShadowKey()
public static Object get_FileTabGradientDarkKey()
public static Object get_FileTabGradientLightKey()
public static Object get_FileTabHotBorderKey()
public static Object get_FileTabHotGlyphKey()
public static Object get_FileTabHotGradientBottomKey()
public static Object get_FileTabHotGradientTopKey()
public static Object get_FileTabHotTextKey()
public static Object get_FileTabInactiveDocumentBorderBackgroundKey()
public static Object get_FileTabInactiveDocumentBorderEdgeKey()
public static Object get_FileTabInactiveGradientBottomKey()
public static Object get_FileTabInactiveGradientTopKey()
public static Object get_FileTabInactiveTextKey()
public static Object get_FileTabLastActiveDocumentBorderBackgroundKey()
public static Object get_FileTabLastActiveDocumentBorderEdgeKey()
public static Object get_FileTabLastActiveGlyphKey()
public static Object get_FileTabLastActiveGradientBottomKey()
public static Object get_FileTabLastActiveGradientMiddle1Key()
public static Object get_FileTabLastActiveGradientMiddle2Key()
public static Object get_FileTabLastActiveGradientTopKey()
public static Object get_FileTabLastActiveTextKey()
public static Object get_FileTabSelectedBackgroundKey()
public static Object get_FileTabSelectedBorderKey()
public static Object get_FileTabSelectedGradientBottomKey()
public static Object get_FileTabSelectedGradientMiddle1Key()
public static Object get_FileTabSelectedGradientMiddle2Key()
public static Object get_FileTabSelectedGradientTopKey()
public static Object get_FileTabSelectedTextKey()
public static Object get_FileTabTextKey()
public static Object get_FormSmartTagActionTagBorderKey()
public static Object get_FormSmartTagActionTagFillKey()
public static Object get_FormSmartTagObjectTagBorderKey()
public static Object get_FormSmartTagObjectTagFillKey()
public static Object get_GrayTextKey()
public static Object get_GridHeadingBackgroundKey()
public static Object get_GridHeadingTextKey()
public static Object get_GridLineKey()
public static Object get_HelpHowDoIPaneBackgroundKey()
public static Object get_HelpHowDoIPaneLinkKey()
public static Object get_HelpHowDoIPaneTextKey()
public static Object get_HelpHowDoITaskBackgroundKey()
public static Object get_HelpHowDoITaskLinkKey()
public static Object get_HelpHowDoITaskTextKey()
public static Object get_CommandBarCheckBoxKey()
public static Object get_CommandBarDragHandleKey()
public static Object get_CommandBarDragHandleShadowKey()
public static Object get_CommandBarGradientBeginKey()
public static Object get_CommandBarGradientEndKey()
public static Object get_CommandBarGradientMiddleKey()
public static Object get_CommandBarHoverKey()
public static Object get_CommandBarHoverOverSelectedKey()
public static Object get_CommandBarHoverOverSelectedIconKey()
public static Object get_CommandBarHoverOverSelectedIconBorderKey()
public static Object get_CommandBarMenuBackgroundGradientBeginKey()
public static Object get_CommandBarMenuBackgroundGradientEndKey()
public static Object get_CommandBarMenuBorderKey()
public static Object get_CommandBarMenuIconBackgroundKey()
public static Object get_CommandBarMenuMouseOverSubmenuGlyphKey()
public static Object get_CommandBarMenuSeparatorKey()
public static Object get_CommandBarMenuSubmenuGlyphKey()
public static Object get_CommandBarMouseDownBackgroundBeginKey()
public static Object get_CommandBarMouseDownBackgroundEndKey()
public static Object get_CommandBarMouseDownBackgroundMiddleKey()
public static Object get_CommandBarMouseDownBorderKey()
public static Object get_CommandBarMouseOverBackgroundBeginKey()
public static Object get_CommandBarMouseOverBackgroundEndKey()
public static Object get_CommandBarMouseOverBackgroundMiddle1Key()
public static Object get_CommandBarMouseOverBackgroundMiddle2Key()
public static Object get_CommandBarOptionsBackgroundKey()
public static Object get_CommandBarOptionsGlyphKey()
public static Object get_CommandBarOptionsMouseDownBackgroundBeginKey()
public static Object get_CommandBarOptionsMouseDownBackgroundEndKey()
public static Object get_CommandBarOptionsMouseDownBackgroundMiddleKey()
public static Object get_CommandBarOptionsMouseOverBackgroundBeginKey()
public static Object get_CommandBarOptionsMouseOverBackgroundEndKey()
public static Object get_CommandBarOptionsMouseOverBackgroundMiddle1Key()
public static Object get_CommandBarOptionsMouseOverBackgroundMiddle2Key()
public static Object get_CommandBarOptionsMouseOverGlyphKey()
public static Object get_CommandBarSelectedKey()
public static Object get_CommandBarSelectedBorderKey()
public static Object get_CommandBarShadowKey()
public static Object get_CommandBarTextActiveKey()
public static Object get_CommandBarTextHoverKey()
public static Object get_CommandBarTextInactiveKey()
public static Object get_CommandBarTextSelectedKey()
public static Object get_CommandBarToolBarBorderKey()
public static Object get_CommandBarToolBarSeparatorKey()
public static Object get_CommandShelfBackgroundGradientBeginKey()
public static Object get_CommandShelfBackgroundGradientEndKey()
public static Object get_CommandShelfBackgroundGradientMiddleKey()
public static Object get_CommandShelfHighlightGradientBeginKey()
public static Object get_CommandShelfHighlightGradientEndKey()
public static Object get_CommandShelfHighlightGradientMiddleKey()
public static Object get_ControlEditHintTextKey()
public static Object get_ControlEditRequiredBackgroundKey()
public static Object get_ControlEditRequiredHintTextKey()
public static Object get_ControlLinkTextKey()
public static Object get_ControlLinkTextHoverKey()
public static Object get_ControlLinkTextPressedKey()
public static Object get_ControlOutlineKey()
public static Object get_DebuggerDataTipActiveBackgroundKey()
public static Object get_DebuggerDataTipActiveBorderKey()
public static Object get_DebuggerDataTipActiveHighlightKey()
public static Object get_DebuggerDataTipActiveHighlightTextKey()
public static Object get_DebuggerDataTipActiveSeparatorKey()
public static Object get_DebuggerDataTipActiveTextKey()
public static Object get_DebuggerDataTipInactiveBackgroundKey()
public static Object get_DebuggerDataTipInactiveBorderKey()
public static Object get_DebuggerDataTipInactiveHighlightKey()
public static Object get_DebuggerDataTipInactiveHighlightTextKey()
public static Object get_DebuggerDataTipInactiveSeparatorKey()
public static Object get_DebuggerDataTipInactiveTextKey()
public static Object get_DesignerBackgroundKey()
public static Object get_DesignerSelectionDotsKey()
public static Object get_DesignerTrayKey()
public static Object get_DesignerWatermarkKey()
public static Object get_DiagReportBackgroundKey()
public static Object get_DiagReportSecondaryPageHeaderKey()
public static Object get_DiagReportSecondaryPageSubtitleKey()
public static Object get_DiagReportSecondaryPageTitleKey()
public static Object get_DiagReportSummaryPageHeaderKey()
public static Object get_DiagReportSummaryPageSubtitleKey()
public static Object get_DiagReportSummaryPageTitleKey()
public static Object get_DiagReportTextKey()
public static Object get_DockTargetBackgroundKey()
public static Object get_DockTargetBorderKey()
public static Object get_DockTargetButtonBackgroundBeginKey()
public static Object get_DockTargetButtonBackgroundEndKey()
public static Object GetBrushKey(Int32 vsSysColor = )
public static Int32 GetColorID(Object vsBrushKey = )
public static Object get_AccentBorderKey()
public static Object get_AccentDarkKey()
public static Object get_AccentLightKey()
public static Object get_AccentMediumKey()
public static Object get_AccentPaleKey()
public static Object get_ActiveBorderKey()
public static Object get_ActiveCaptionKey()
public static Object get_AppWorkspaceKey()
public static Object get_AutoHideResizeGripKey()
public static Object get_AutoHideTabBackgroundBeginKey()
public static Object get_AutoHideTabBackgroundEndKey()
public static Object get_AutoHideTabBorderKey()
public static Object get_AutoHideTabMouseOverBackgroundBeginKey()
public static Object get_AutoHideTabMouseOverBackgroundEndKey()
public static Object get_AutoHideTabMouseOverBorderKey()
public static Object get_AutoHideTabMouseOverTextKey()
public static Object get_AutoHideTabTextKey()
public static Object get_BackgroundKey()
public static Object get_BrandedUIBackgroundKey()
public static Object get_BrandedUIBorderKey()
public static Object get_BrandedUIFillKey()
public static Object get_BrandedUITextKey()
public static Object get_BrandedUITitleKey()
public static Object get_ButtonFaceKey()
public static Object get_ButtonHighlightKey()
public static Object get_ButtonShadowKey()
public static Object get_ButtonTextKey()
public static Object get_CaptionTextKey()
public static Object get_ClassDesignerClassCompartmentKey()
public static Object get_ClassDesignerClassHeaderBackgroundKey()
public static Object get_ClassDesignerCommentBorderKey()
public static Object get_ClassDesignerCommentShapeBackgroundKey()
public static Object get_ClassDesignerCommentTextKey()
public static Object get_ClassDesignerCompartmentSeparatorKey()
public static Object get_ClassDesignerConnectionRouteBorderKey()
public static Object get_ClassDesignerDefaultConnectionKey()
public static Object get_ClassDesignerDefaultShapeBackgroundKey()
public static Object get_ClassDesignerDefaultShapeBorderKey()
public static Object get_ClassDesignerDefaultShapeSubtitleKey()
public static Object get_ClassDesignerDefaultShapeTextKey()
public static Object get_ClassDesignerDefaultShapeTitleKey()
public static Object get_ClassDesignerDefaultShapeTitleBackgroundKey()
public static Object get_ClassDesignerDelegateCompartmentKey()
public static Object get_ClassDesignerDelegateHeaderKey()
public static Object get_ClassDesignerDiagramBackgroundKey()
public static Object get_ClassDesignerEmphasisBorderKey()
public static Object get_ClassDesignerEnumHeaderKey()
public static Object get_ClassDesignerFieldAssociationKey()
public static Object get_ClassDesignerGradientEndKey()
public static Object get_ClassDesignerInheritanceKey()
public static Object get_ClassDesignerInterfaceCompartmentKey()
public static Object get_ClassDesignerInterfaceHeaderKey()
public static Object get_ClassDesignerLassoKey()
public static Object get_ClassDesignerLollipopKey()
public static Object get_ClassDesignerPropertyAssociationKey()
public static Object get_ClassDesignerReferencedAssemblyBorderKey()
public static Object get_ClassDesignerResizingShapeBorderKey()
public static Object get_ClassDesignerShapeBorderKey()
public static Object get_ClassDesignerShapeShadowKey()
public static Object get_ClassDesignerTempConnectionKey()
public static Object get_ClassDesignerTypedefKey()
public static Object get_ClassDesignerTypedefHeaderKey()
public static Object get_ClassDesignerUnresolvedTextKey()
public static Object get_ClassDesignerVBModuleCompartmentKey()
public static Object get_ClassDesignerVBModuleHeaderKey()
public static Object get_ComboBoxBackgroundKey()
public static Object get_ComboBoxBorderKey()
public static Object get_ComboBoxDisabledBackgroundKey()
public static Object get_ComboBoxDisabledBorderKey()
public static Object get_ComboBoxDisabledGlyphKey()
public static Object get_ComboBoxGlyphKey()
public static Object get_ComboBoxMouseDownBackgroundKey()
public static Object get_ComboBoxMouseDownBorderKey()
public static Object get_ComboBoxMouseOverBackgroundBeginKey()
public static Object get_ComboBoxMouseOverBackgroundEndKey()
public static Object get_ComboBoxMouseOverBackgroundMiddle1Key()
public static Object get_ComboBoxMouseOverBackgroundMiddle2Key()
public static Object get_ComboBoxMouseOverBorderKey()
public static Object get_ComboBoxMouseOverGlyphKey()
public static Object get_ComboBoxPopupBackgroundBeginKey()
public static Object get_ComboBoxPopupBackgroundEndKey()
public static Object get_ComboBoxPopupBorderKey()
public static Object get_CommandBarBorderKey()
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()