-
-
Notifications
You must be signed in to change notification settings - Fork 285
Nodify_DecoratorsControl
Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → ItemsControl → DecoratorsControl
Implements: IKeyboardNavigationLayer
References: DecoratorContainer, IKeyboardFocusTarget<DecoratorContainer>, IKeyboardFocusTarget<UIElement>, KeyboardNavigationLayerId, NodifyEditor
An ItemsControl that works with DecoratorContainers.
public class DecoratorsControl : ItemsControl, IKeyboardNavigationLayer public DecoratorsControl(); Gets the NodifyEditor that owns this DecoratorsControl.
public NodifyEditor Editor { get; set; } Property Value
public virtual KeyboardNavigationLayerId Id { get; set; } Property Value
public virtual IKeyboardFocusTarget<UIElement> LastFocusedElement { get; set; } Property Value
IKeyboardFocusTarget<UIElement>
protected virtual DecoratorContainer FindNextFocusTarget(DecoratorContainer currentContainer, TraversalRequest request); Parameters
currentContainer DecoratorContainer
request TraversalRequest
Returns
protected override DependencyObject GetContainerForItemOverride(); Returns
protected override bool IsItemItsOwnContainerOverride(object item); Parameters
item Object
Returns
public override void OnApplyTemplate(); protected virtual void OnElementFocused(IKeyboardFocusTarget<DecoratorContainer> target); Parameters
target IKeyboardFocusTarget<DecoratorContainer>
public virtual bool TryMoveFocus(TraversalRequest request); Parameters
request TraversalRequest
Returns
public virtual bool TryRestoreFocus(); Returns