Exemplo n.º 1
0
        /// <summary>
        /// Called when the highlights width changed.
        /// </summary>
        /// <param name="d">The dependency object. This is the ClawWindow.</param>
        /// <param name="e">Event arguments.</param>
        private static void OnHighlightWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ClawWindow window = (ClawWindow)d;

            window.InvalidateVisual();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Called when the window completed it's opening.
 /// </summary>
 /// <param name="sender">Event sender.</param>
 /// <param name="e">Event arguments.</param>
 private void OnOpenCompleted(object sender, EventArgs e)
 {
     window.Opening = false;
     window.InvalidateVisual();
 }