Caliburn Micro auto binding Visibility

The following declaration enables the Visibility property to autobind.

AddElementConvention(Shape.VisibilityProperty, "DataContext", "MouseLeftButtonUp");

e.g.

<Rectangle x:Name="rect01" />
property boolean rect01 {get; set;}

About this entry