Quantcast
Viewing latest article 6
Browse Latest Browse All 21

Updated Wiki: Overlay adorner

Radical offers a rich set of adorners and also a generic purpose adorner thoughts to put an arbitrary content on top of another element:

<CalendarHeight="180"HorizontalAlignment="Left"VerticalAlignment="Top"Width="180"><i:Interaction.Behaviors><behaviors:OverlayBehaviorBackground="#99FAFAFA"IsVisible="True"IsHitTestVisible="False"><behaviors:OverlayBehavior.Content><BorderBorderBrush="Red"BorderThickness="4"HorizontalAlignment="Stretch"VerticalAlignment="Stretch"><TextBlockText="I'm on top of the calendar"HorizontalAlignment="Center"VerticalAlignment="Center"/></Border></behaviors:OverlayBehavior.Content></behaviors:OverlayBehavior></i:Interaction.Behaviors></Calendar>

producing the following effect at runtime:

Image may be NSFW.
Clik here to view.
image

The behavior is defined in the “http://schemas.topics.it/wpf/radical/windows/behaviors” xml namespace.


Viewing latest article 6
Browse Latest Browse All 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>