Microsoft.Samples.KMoore.WPFSamples.DateControls.MonthCalendar.IsFocusable C# (CSharp) Method

IsFocusable() private method

True if the element can be focused
private IsFocusable ( FrameworkElement fe ) : bool
fe System.Windows.FrameworkElement
return bool
        private bool IsFocusable(FrameworkElement fe)
        {
            return fe != null && fe.Focusable && (bool)fe.GetValue(IsTabStopProperty) && fe.IsEnabled && fe.Visibility == Visibility.Visible;
        }