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

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