Search Results for

    Show / Hide Table of Contents

    Class InkToolbar

    Defines the ballpoint pen flyout components of the InkToolbar.

    Inheritance
    System.Object
    ElementWrapper<WindowsElement>
    WindowsElementWrapper
    InkToolbar
    Implements
    IElementWrapper<WindowsElement>
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<WindowsElement>.Element
    ElementWrapper<WindowsElement>.ElementDriver
    ElementWrapper<WindowsElement>.IsVisible
    ElementWrapper<WindowsElement>.IsEnabled
    ElementWrapper<WindowsElement>.Click()
    ElementWrapper<WindowsElement>.GetAttribute(String)
    ElementWrapper<WindowsElement>.FindElement(By)
    ElementWrapper<WindowsElement>.VerifyElementNotShown(By)
    ElementWrapper<WindowsElement>.VerifyElementShown(By)
    ElementWrapper<WindowsElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<WindowsElement>.VerifyElementsShown(By)
    ElementWrapper<WindowsElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.Core
    Assembly: Legerity.Windows.dll
    Syntax
    public class InkToolbar : WindowsElementWrapper, IElementWrapper<WindowsElement>

    Constructors

    | Improve this Doc View Source

    InkToolbar(WindowsElement)

    Initializes a new instance of the InkToolbar class.

    Declaration
    public InkToolbar(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    BallpointPenButton

    Gets the element associated with the ballpoint pen button.

    Declaration
    public virtual RadioButton BallpointPenButton { get; }
    Property Value
    Type Description
    RadioButton
    | Improve this Doc View Source

    BallpointPenFlyout

    Gets the element associated with the ballpoint pen flyout.

    Declaration
    public virtual InkToolbar.InkToolbarBallpointPenFlyout BallpointPenFlyout { get; }
    Property Value
    Type Description
    InkToolbar.InkToolbarBallpointPenFlyout
    Remarks

    This is only available when the ballpoint pen button is selected.

    | Improve this Doc View Source

    HighlighterButton

    Gets the element associated with the highlighter button.

    Declaration
    public virtual RadioButton HighlighterButton { get; }
    Property Value
    Type Description
    RadioButton
    | Improve this Doc View Source

    HighlighterFlyout

    Gets the element associated with the highlighter flyout.

    Declaration
    public virtual InkToolbar.InkToolbarHighlighterFlyout HighlighterFlyout { get; }
    Property Value
    Type Description
    InkToolbar.InkToolbarHighlighterFlyout
    Remarks

    This is only available when the highlighter button is selected.

    | Improve this Doc View Source

    PencilButton

    Gets the element associated with the pencil button.

    Declaration
    public virtual RadioButton PencilButton { get; }
    Property Value
    Type Description
    RadioButton
    | Improve this Doc View Source

    PencilFlyout

    Gets the element associated with the pencil flyout.

    Declaration
    public virtual InkToolbar.InkToolbarPencilFlyout PencilFlyout { get; }
    Property Value
    Type Description
    InkToolbar.InkToolbarPencilFlyout
    Remarks

    This is only available when the pencil button is selected.

    | Improve this Doc View Source

    RulerButton

    Gets the element associated with the ruler button.

    Declaration
    public virtual ToggleButton RulerButton { get; }
    Property Value
    Type Description
    ToggleButton
    | Improve this Doc View Source

    SelectedBallpointPenColor

    Gets the currently selected ballpoint pen color.

    Declaration
    public virtual string SelectedBallpointPenColor { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SelectedHighlighterColor

    Gets the currently selected highlighter color.

    Declaration
    public virtual string SelectedHighlighterColor { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SelectedPencilColor

    Gets the currently selected pencil color.

    Declaration
    public virtual string SelectedPencilColor { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    OpenBallpointPenFlyout()

    Opens the ballpoint pen flyout.

    Declaration
    public virtual void OpenBallpointPenFlyout()
    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    | Improve this Doc View Source

    OpenHighlighterFlyout()

    Opens the pencil flyout.

    Declaration
    public virtual void OpenHighlighterFlyout()
    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    | Improve this Doc View Source

    OpenPencilFlyout()

    Opens the pencil flyout.

    Declaration
    public virtual void OpenPencilFlyout()
    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    | Improve this Doc View Source

    SelectBallpointPen()

    Selects the ballpoint pen option.

    Declaration
    public virtual void SelectBallpointPen()
    | Improve this Doc View Source

    SelectHighlighter()

    Selects the highlighter option.

    Declaration
    public virtual void SelectHighlighter()
    | Improve this Doc View Source

    SelectPencil()

    Selects the pencil option.

    Declaration
    public virtual void SelectPencil()
    | Improve this Doc View Source

    SetBallpointPenColor(String)

    Sets the toolbar to the ballpoint pen with the given color.

    Declaration
    public virtual void SetBallpointPenColor(string color)
    Parameters
    Type Name Description
    System.String color

    The color to set.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    | Improve this Doc View Source

    SetBallpointPenColorByPartialName(String)

    Sets the toolbar to the ballpoint pen with the given partial color name.

    Declaration
    public virtual void SetBallpointPenColorByPartialName(string color)
    Parameters
    Type Name Description
    System.String color

    The partial color name to set.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    | Improve this Doc View Source

    SetHighlighterColor(String)

    Sets the toolbar to the highlighter with the given color.

    Declaration
    public virtual void SetHighlighterColor(string color)
    Parameters
    Type Name Description
    System.String color

    The color to set.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    | Improve this Doc View Source

    SetHighlighterColorByPartialName(String)

    Sets the toolbar to the highlighter with the given color.

    Declaration
    public virtual void SetHighlighterColorByPartialName(string color)
    Parameters
    Type Name Description
    System.String color

    The color to set.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    | Improve this Doc View Source

    SetPencilColor(String)

    Sets the toolbar to the pencil with the given color.

    Declaration
    public virtual void SetPencilColor(string color)
    Parameters
    Type Name Description
    System.String color

    The color to set.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    | Improve this Doc View Source

    SetPencilColorByPartialName(String)

    Sets the toolbar to the pencil with the given partial color name.

    Declaration
    public virtual void SetPencilColorByPartialName(string color)
    Parameters
    Type Name Description
    System.String color

    The partial color name to set.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to InkToolbar)

    Allows conversion of a to the InkToolbar without direct casting.

    Declaration
    public static implicit operator InkToolbar(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    InkToolbar

    The InkToolbar.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to InkToolbar)

    Allows conversion of a to the InkToolbar without direct casting.

    Declaration
    public static implicit operator InkToolbar(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    InkToolbar

    The InkToolbar.

    | Improve this Doc View Source

    Implicit(WindowsElement to InkToolbar)

    Allows conversion of a to the InkToolbar without direct casting.

    Declaration
    public static implicit operator InkToolbar(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The .

    Returns
    Type Description
    InkToolbar

    The InkToolbar.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    WindowsElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    WindowsElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps