ClipBorder
Represents a border whose contents are clipped within the bounds
of the border. The border may have rounded corners.
Background Dependency Property
BorderBrush Dependency Property
BorderThickness Dependency Property
CornerRadius Dependency Property
OptimizeClipRendering Dependency Property
Padding Dependency Property
Gets or sets the Background property. This dependency property
indicates the Background with which the Background is drawn.
Gets or sets the BorderBrush property. This dependency property
indicates the BorderBrush with which the Border is drawn.
Gets or sets the BorderThickness property. This dependency property
indicates the BorderThickness.
Gets or sets the CornerRadius property. This dependency property
indicates the CornerRadius of the border.
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.
Gets or sets the Padding property. This dependency property
indicates the Padding.
public ClipBorder()