public int?GetThemeMetric(int partId, int stateId, int propertyId) { HResult hr = UxThemeExNativeMethods.UxGetThemeMetric( themeFile, theme, IntPtr.Zero, partId, stateId, propertyId, out int value); return(Found(hr) ? value : (int?)null); }
public int?GetThemeMetric(int partId, int stateId, int propertyId) { HResult hr = UxThemeExNativeMethods.UxGetThemeMetric( themeFile, theme, IntPtr.Zero, partId, stateId, propertyId, out int value); return(Found(hr) ? value : (int?)null); }