예제 #1
0
 protected void SendFocused(FocusedEventArgs e)
 {
     EventHandler<FocusedEventArgs> handler = Focused;
     if (handler != null)
     {
         handler(this, e);
     }
 }
예제 #2
0
        protected void SendFocused(FocusedEventArgs e)
        {
            EventHandler <FocusedEventArgs> handler = Focused;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #3
0
 private void Camera_Focused(object sender, FocusedEventArgs e)
 {
     FocusIndicator.Visibility = e.State == CameraFocusStatus.Locked ? Visibility.Visible : Visibility.Collapsed;
 }