Summary
Gets or sets the OptimizeClipRendering property. This dependency property
indicates whether the rendering of the clip should be optimized. When set to true,
In order to optimize the rendering of the clipped Child,
the background is rendered with the same brush as the border. Any other brush set for
the background will be ignored. The Child will be rendered on top of it.
This is done to prevent any gaps between the border the the clipped Child (this is
evidently visible if both the Border and the Child are of same color).
This works best when the Child does not have any level of transparency and is opaque.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- ClipBorder
Syntax
public bool OptimizeClipRendering { get; set; }
Value
Type | Description |
---|---|
bool |