IOverlayPane Interface
Provides the base requirements for an overlay pane that can appear over an IEditorView.
public interface IOverlayPane : IKeyedObject
Properties
CloseCommand
The ICommand that closes the pane.
ControlKeyDownOpacity
The opacity of the pane while the control key is pressed.
double ControlKeyDownOpacity { get; }
Property Value
- double:
A recommended value is
0.25.
Remarks
Set the value to 1.0 to prevent opacity changes when the control key is pressed.
InstanceKind
The OverlayPaneInstanceKind that indicates how many instances of the pane are permitted across all views.
OverlayPaneInstanceKind InstanceKind { get; }
Property Value
- OverlayPaneInstanceKind:
The default value is Single.
VisualElement
The UIElement that is used to visually render the pane.
Methods
Activate()
Activates the pane, called when the pane is already open to perform tasks like moving focus into itself.
void Activate()
Close()
Closes the pane.
void Close()
Events
Closed
Occurs when the pane is closed.