protected void SendFocused(FocusedEventArgs e) { EventHandler<FocusedEventArgs> handler = Focused; if (handler != null) { handler(this, e); } }
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; }