Language
Edit

InkToolbar Class

Definition

Wpf-enabled wrapper for Windows.UI.Xaml.Controls.InkToolbar

[System.Windows.Markup.ContentProperty("Children")]
public class InkToolbar : Microsoft.Toolkit.Wpf.UI.XamlHost.WindowsXamlHostBase
[<System.Windows.Markup.ContentProperty("Children")>]
type InkToolbar = class
    inherit WindowsXamlHostBase
Public Class InkToolbar
Inherits WindowsXamlHostBase
Inheritance
Attributes

Constructors

Name Description
InkToolbar()

Initializes a new instance of the InkToolbar class, a Wpf-enabled wrapper for Windows.UI.Xaml.Controls.InkToolbar

InkToolbar(String)

Initializes a new instance of the InkToolbar class, a Wpf-enabled wrapper for Windows.UI.Xaml.Controls.InkToolbar.

Properties

Name Description
ActiveTool

Gets or sets Windows.UI.Xaml.Controls.InkToolbar.ActiveTool

ActiveToolProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.ActiveToolProperty

ButtonFlyoutPlacement

Gets or sets Windows.UI.Xaml.Controls.InkToolbar.ButtonFlyoutPlacement

ButtonFlyoutPlacementProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.ButtonFlyoutPlacementProperty

ChildInternal

Gets or sets the root UWP XAML element displayed in the WPF control instance.

(Inherited from WindowsXamlHostBase)
Children
InitialControls

Gets or sets Windows.UI.Xaml.Controls.InkToolbar.InitialControls

InitialControlsProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.InitialControlsProperty

InkDrawingAttributes

Gets Windows.UI.Xaml.Controls.InkToolbar.InkDrawingAttributes

InkDrawingAttributesProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.InkDrawingAttributesProperty

IsDisposed

Gets a value indicating whether this wrapper control instance been disposed

(Inherited from WindowsXamlHostBase)
IsRulerButtonChecked

Gets or sets a value indicating whether Windows.UI.Xaml.Controls.InkToolbar.IsRulerButtonChecked

IsRulerButtonCheckedProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.IsRulerButtonCheckedProperty

IsStencilButtonChecked

Gets or sets a value indicating whether Windows.UI.Xaml.Controls.InkToolbar.IsStencilButtonChecked

IsStencilButtonCheckedProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.IsStencilButtonCheckedProperty

Orientation

Gets or sets Windows.UI.Xaml.Controls.InkToolbar.Orientation

OrientationProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.OrientationProperty

TargetInkCanvas

Gets or sets Windows.UI.Xaml.Controls.InkToolbar.TargetInkCanvas

TargetInkCanvasProperty

Gets Windows.UI.Xaml.Controls.InkToolbar.TargetInkCanvasProperty

Methods

Name Description
ArrangeOverride(Size)

Arranges wrapped UWP XAML content using passed in size constraint

(Inherited from WindowsXamlHostBase)
Bind(String, DependencyProperty, DependencyProperty, Object, BindingDirection)

Binds this wrapper object's exposed WPF DependencyProperty with the wrapped UWP object's DependencyProperty for what effectively works as a regular one- or two-way binding.

(Inherited from WindowsXamlHostBase)
BuildWindowCore(HandleRef)

Creates Windows.UI.Xaml.Application object, wrapped Windows.UI.Xaml.Hosting.DesktopWindowXamlSource instance; creates and sets root UWP XAML element on Windows.UI.Xaml.Hosting.DesktopWindowXamlSource.

(Inherited from WindowsXamlHostBase)
DestroyWindowCore(HandleRef)

WPF framework request to destroy control window. Cleans up the HwndIslandSite created by DesktopWindowXamlSource

(Inherited from WindowsXamlHostBase)
Dispose(Boolean)

WindowsXamlHost Dispose

(Inherited from WindowsXamlHostBase)
GetMenuButton(InkToolbarMenuKind)

Windows.UI.Xaml.Controls.InkToolbar.GetMenuButton(Windows.UI.Xaml.Controls.InkToolbarMenuKind)

GetToggleButton(InkToolbarToggle)

Windows.UI.Xaml.Controls.InkToolbar.GetToggleButton(Windows.UI.Xaml.Controls.InkToolbarToggle)

GetToolButton(InkToolbarTool)

Windows.UI.Xaml.Controls.InkToolbar.GetToolButton(Windows.UI.Xaml.Controls.InkToolbarTool)

GetUwpInternalObject()

Exposes ChildInternal without exposing its actual Type.

(Inherited from WindowsXamlHostBase)
HasFocusWithinCore() (Inherited from WindowsXamlHostBase)
MeasureOverride(Size)

Measures wrapped UWP XAML content using passed in size constraint

(Inherited from WindowsXamlHostBase)
OnChildChanged()

Called when the property <seealso cref="P:Microsoft.Toolkit.Wpf.UI.XamlHost.WindowsXamlHostBase.ChildInternal"></seealso> has changed.

(Inherited from WindowsXamlHostBase)
OnGotFocus(RoutedEventArgs)

Override for OnGotFocus that passes NavigateFocus on to the DesktopXamlSource instance

(Inherited from WindowsXamlHostBase)
OnInitialized(EventArgs) System.Windows.Interop.HwndHost.OnInitialized(System.EventArgs)
SetContent()

The default implementation of SetContent applies ChildInternal to desktopWindowXamSource.Content. Override this method if that shouldn't be the case. For example, override if your control should be a child of another WindowsXamlHostBase-based control.

(Inherited from WindowsXamlHostBase)
TabIntoCore(TraversalRequest)

Process Tab from host framework

(Inherited from WindowsXamlHostBase)
WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean) (Inherited from WindowsXamlHostBase)

Events

Name Description
ActiveToolChanged

Windows.UI.Xaml.Controls.InkToolbar.ActiveToolChanged

ChildChanged

Fired when WindowsXamlHost root UWP XAML content has been updated

(Inherited from WindowsXamlHostBase)
EraseAllClicked

Windows.UI.Xaml.Controls.InkToolbar.EraseAllClicked

InkDrawingAttributesChanged

Windows.UI.Xaml.Controls.InkToolbar.InkDrawingAttributesChanged

IsRulerButtonCheckedChanged

Windows.UI.Xaml.Controls.InkToolbar.IsRulerButtonCheckedChanged

IsStencilButtonCheckedChanged

Windows.UI.Xaml.Controls.InkToolbar.IsStencilButtonCheckedChanged

Applies to