Property AutoHandleGlassRelatedOptimizations
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
AutoHandleGlassRelatedOptimizations
Gets or sets a flag indicating whether glass-related "optimizations" are automatically handled.
public bool AutoHandleGlassRelatedOptimizations { get; set; }
Property Value
Remarks
If this is true, the following are handled automatically:
- The glass inset area is automatically cleared to be transparent.
- Any buttons within the glass inset area will have their FlatStyle set to Standard, and UseCompatibleTextRendering set to true. Note that only buttons within the Controls collection will be inspected. No nested controls will be.
- Clicking and dragging the mouse within the glass inset area will drag the form around. Setting this value to false when it is true will result in undefined behavior.