Table of Contents

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

bool

Remarks

If this is true, the following are handled automatically:

  1. The glass inset area is automatically cleared to be transparent.
  2. 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.
  3. 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.