I agree, it's hard:
private void VerifyConsistencyWithAllowsTransparency(WindowStyle style)
{
if (AllowsTransparency && style != WindowStyle.None)
{
throw new InvalidOperationException(SR.Get(SRID.MustUseWindowStyleNone));
}
}
WPF Windows Forms, . , WPF. , Window.cs, . UsesPerPixelOpacity:
, . , UsesPerPixelOpacity - , , , . /
" ", .