Export (0) Print
Expand All

InkCanvas Properties

  Name Description
Public property Bottom Gets or sets the distance between the bottom of an element and the bottom of its parent InkCanvas .
Public property Left Gets or sets the distance between the left side of an element and the left side of its parent InkCanvas .
Public property Right Gets or sets the distance between the right side of an element and the right side of its parent InkCanvas .
Public property Top Gets or sets the distance between the top of an element and the top of its parent InkCanvas .
Top

(see also Protected Properties )
  Name Description
Public property ActiveEditingMode Gets the current editing mode of the InkCanvas.
Public property ActualHeight  Gets the rendered height of this element. This is a dependency property. (inherited from FrameworkElement)
Public property ActualWidth  Gets the rendered width of this element. This is a dependency property. (inherited from FrameworkElement)
Public property AllowDrop  Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. (inherited from UIElement)
Public property Background Gets or sets a Brush used to fill the area between the borders of a InkCanvas.
Public property BitmapEffect  Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property. (inherited from UIElement)
Public property BitmapEffectInput  Gets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. This is a dependency property. (inherited from UIElement)
Public property Children Retrieves the child elements of the InkCanvas.
Public property Clip  Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. (inherited from UIElement)
Public property ClipToBounds  Gets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. This is a dependency property. (inherited from UIElement)
Public property CommandBindings  Gets a collection of CommandBinding objects associated with this element. (inherited from UIElement)
Public property ContextMenu  Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element. This is a dependency property. (inherited from FrameworkElement)
Public property Cursor  Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property. (inherited from FrameworkElement)
Public property DataContext  Gets or sets the data context for an element when it participates in data binding. This is a dependency property. (inherited from FrameworkElement)
Public property DefaultDrawingAttributes Gets or sets the drawing attributes that are applied to new ink strokes made on the InkCanvas.
Public property DefaultStylusPointDescription Gets or sets the stylus point description for an InkCanvas.
Public property DependencyObjectType  Gets the DependencyObjectType that wraps the CLR type of this instance. (inherited from DependencyObject)
Public property DesiredSize  Gets the size that this element computed during the measure pass of the layout process. (inherited from UIElement)
Public property Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (inherited from DispatcherObject)
Public property EditingMode Gets or sets the user editing mode used when a pointing device is active.
Public property EditingModeInverted Gets or sets the user editing mode that will be used with an InkCanvas when the stylus is held in an inverted position.
Public property EraserShape Gets or sets the StylusShape used to point-erase ink from an InkCanvas.
Public property FlowDirection  Gets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout. This is a dependency property (with an additional attached property usage). (inherited from FrameworkElement)
Public property Focusable  Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (inherited from UIElement)
Public property FocusVisualStyle  Gets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. This is a dependency property. (inherited from FrameworkElement)
Public property ForceCursor  Gets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property. This is a dependency property. (inherited from FrameworkElement)
Public property HasAnimatedProperties  Gets a value indicating whether this element has any animated properties. (inherited from UIElement)
Public property Height  Gets or sets the suggested height of the element. This is a dependency property. (inherited from FrameworkElement)
Public property HorizontalAlignment  Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. This is a dependency property. (inherited from FrameworkElement)
Public property InputBindings  Gets the collection of input bindings associated with this element. (inherited from UIElement)
Public property InputScope  Gets or sets the context for input used by this FrameworkElement. This is a dependency property. (inherited from FrameworkElement)
Public property IsArrangeValid  Gets a value indicating whether the computed size and position of child elements in this element's layout are valid. (inherited from UIElement)
Public property IsEnabled  Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property. (inherited from UIElement)
Public property IsFocused  Gets a value that determines whether this element has logical focus. This is a dependency property. (inherited from UIElement)
Public property IsGestureRecognizerAvailable Gets whether the gesture recognition component is available on the user's system.
Public property IsHitTestVisible  Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property. (inherited from UIElement)
Public property IsInitialized  Gets a value that indicates whether this element has been initialized, either during processing by a XAML reader, or by explicitly having its EndInit method called. (inherited from FrameworkElement)
Public property IsInputMethodEnabled  Gets a value indicating whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. (inherited from UIElement)
Public property IsKeyboardFocused  Gets a value indicating whether this element has keyboard focus. This is a dependency property. (inherited from UIElement)
Public property IsKeyboardFocusWithin  Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property. (inherited from UIElement)
Public property IsLoaded  Gets a value that indicates whether this element has been loaded for presentation. (inherited from FrameworkElement)
Public property IsMeasureValid  Gets a value indicating whether the current size returned by layout measure is valid. (inherited from UIElement)
Public property IsMouseCaptured  Gets a value indicating whether the mouse is captured to this element. This is a dependency property. (inherited from UIElement)
Public property IsMouseCaptureWithin  Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property. (inherited from UIElement)
Public property IsMouseDirectlyOver  Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. (inherited from UIElement)
Public property IsMouseOver  Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). This is a dependency property. (inherited from UIElement)
Public property IsSealed  Gets a value that declares whether this instance is currently read-only. (inherited from DependencyObject)
Public property IsStylusCaptured  Gets a value indicating whether the stylus is captured by this element. This is a dependency property. (inherited from UIElement)
Public property IsStylusCaptureWithin  Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property. (inherited from UIElement)
Public property IsStylusDirectlyOver  Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. (inherited from UIElement)
Public property IsStylusOver  Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property. (inherited from UIElement)
Public property IsVisible  Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property. (inherited from UIElement)
Public property Language  Gets or sets localization/globalization language information that applies to an element. This is a dependency property. (inherited from FrameworkElement)
Public property LayoutTransform  Gets or sets a graphics transformation that should apply to this element when layout is performed. This is a dependency property. (inherited from FrameworkElement)
Public property Margin  Gets or sets the outer margin of an element. This is a dependency property. (inherited from FrameworkElement)
Public property MaxHeight  Gets or sets the maximum height constraint of the element. This is a dependency property. (inherited from FrameworkElement)
Public property MaxWidth  Gets or sets the maximum width constraint of the element. This is a dependency property. (inherited from FrameworkElement)
Public property MinHeight  Gets or sets the minimum height constraint of the element. This is a dependency property. (inherited from FrameworkElement)
Public property MinWidth  Gets or sets the minimum width constraint of the element. This is a dependency property. (inherited from FrameworkElement)
Public property MoveEnabled Gets or sets whether the user is enabled to move selected ink strokes and/or elements on the InkCanvas.
Public property Name  Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during parsing by a XAML reader. This is a dependency property. (inherited from FrameworkElement)
Public property Opacity  Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property. (inherited from UIElement)
Public property OpacityMask  Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property. (inherited from UIElement)
Public property OverridesDefaultStyle  Gets or sets a value that indicates whether this element incorporates style properties from theme styles. This is a dependency property. (inherited from FrameworkElement)
Public property Parent  Gets the logical parent element of this element. (inherited from FrameworkElement)
Public property PersistId  Gets a value that uniquely identifies this element. (inherited from UIElement)
Public property PreferredPasteFormats Gets or sets the formats that can be pasted onto the InkCanvas.
Public property RenderSize  Gets (or sets, but see Remarks) the final render size of this element. (inherited from UIElement)
Public property RenderTransform  Gets or sets transform information that affects the rendering position of this element. This is a dependency property. (inherited from UIElement)
Public property RenderTransformOrigin  Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property. (inherited from UIElement)
Public property ResizeEnabled Gets or sets whether the user is enabled to resize selected ink strokes and/or elements on the InkCanvas.
Public property Resources  Gets or sets the locally-defined resource dictionary. This is a dependency property. (inherited from FrameworkElement)
Public property SnapsToDevicePixels  Gets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. This is a dependency property. (inherited from UIElement)
Public property Strokes Gets or sets the collection of ink Stroke objects collected by the InkCanvas.
Public property Style  Gets or sets any locally applied style used by this element when it is rendered. This is a dependency property. (inherited from FrameworkElement)
Public property Tag  Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property. (inherited from FrameworkElement)
Public property TemplatedParent  Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. (inherited from FrameworkElement)
Public property ToolTip  Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). This is a dependency property. (inherited from FrameworkElement)
Public property Triggers  Gets the collection of triggers established directly on this element, or in child elements. (inherited from FrameworkElement)
Public property UseCustomCursor Gets or sets whether to override standard InkCanvas cursor functionality to support a custom cursor.
Public property VerticalAlignment  Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property. (inherited from FrameworkElement)
Public property Visibility  Gets or sets the user interface (UI) visibility of this element. This is a dependency property. (inherited from UIElement)
Public property Width  Gets or sets the width of the element. This is a dependency property. (inherited from FrameworkElement)
Top

  Name Description
Protected property DefaultStyleKey  Gets or sets the key to use to reference the style for this control, when theme styles are used or defined. This is a dependency property. (inherited from FrameworkElement)
Protected property DynamicRenderer Gets or sets the renderer that dynamically draws ink on the InkCanvas.
Protected property InheritanceBehavior  Gets or sets the scope limits for property value inheritance and resource key lookup. (inherited from FrameworkElement)
Protected property InkPresenter Gets the ink presenter that displays the ink on the InkCanvas.
Protected property IsEnabledCore  Gets a value that becomes the return value of IsEnabled in derived classes. (inherited from UIElement)
Protected property LogicalChildren Overridden. Returns enumerator to logical children.
Protected property StylusPlugIns  Gets a collection of all stylus plug-in (customization) objects associated with this element. (inherited from UIElement)
Protected property VisualBitmapEffect  Gets or sets the BitmapEffect value for the Visual. (inherited from Visual)
Protected property VisualBitmapEffectInput  Gets or sets the BitmapEffectInput value for the Visual. (inherited from Visual)
Protected property VisualBitmapScalingMode  Gets or sets the BitmapScalingMode for the Visual. (inherited from Visual)
Protected property VisualChildrenCount Overridden.  
Protected property VisualClip  Gets or sets the clip region of the Visual as a Geometry value. (inherited from Visual)
Protected property VisualEdgeMode  Gets or sets the edge mode of the Visual as an EdgeMode value. (inherited from Visual)
Protected property VisualOffset  Gets or sets the offset value of the visual object. (inherited from Visual)
Protected property VisualOpacity  Gets or sets the opacity of the Visual. (inherited from Visual)
Protected property VisualOpacityMask  Gets or sets the Brush value that represents the opacity mask of the Visual. (inherited from Visual)
Protected property VisualParent  Gets the parent of the visual object. (inherited from Visual)
Protected property VisualTransform  Gets or sets the Transform value for the Visual. (inherited from Visual)
Protected property VisualXSnappingGuidelines  Gets or sets the x-coordinate (vertical) guideline collection. (inherited from Visual)
Protected property VisualYSnappingGuidelines  Gets or sets the y-coordinate (horizontal) guideline collection. (inherited from Visual)
Top

Community Additions

ADD
Show:
© 2014 Microsoft