Exemplo n.º 1
0
        public MARGINS?GetThemeMargins(int partId, int stateId, int propertyId)
        {
            HResult hr = UxThemeExNativeMethods.UxGetThemeMargins(
                themeFile, theme, IntPtr.Zero, partId, stateId, propertyId, null, out MARGINS value);

            return(Found(hr) ? value : (MARGINS?)null);
        }