Search Results for

    Show / Hide Table of Contents

    Class InkToolbar.InkToolbarColorFlyoutBase

    Defines a base for a color flyout in the InkToolbar.

    Inheritance
    System.Object
    ElementWrapper<WindowsElement>
    WindowsElementWrapper
    InkToolbar.InkToolbarColorFlyoutBase
    InkToolbar.InkToolbarBallpointPenFlyout
    InkToolbar.InkToolbarHighlighterFlyout
    InkToolbar.InkToolbarPencilFlyout
    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 abstract class InkToolbarColorFlyoutBase : WindowsElementWrapper, IElementWrapper<WindowsElement>

    Constructors

    | Improve this Doc View Source

    InkToolbarColorFlyoutBase(WindowsElement)

    Initializes a new instance of the InkToolbar.InkToolbarColorFlyoutBase class.

    Declaration
    protected InkToolbarColorFlyoutBase(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    ColorGridView

    Gets the element associated with the color grid.

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

    SelectedColor

    Gets the currently selected color.

    Declaration
    public virtual string SelectedColor { get; }
    Property Value
    Type Description
    System.String
    Exceptions
    Type Condition
    ElementNotShownException

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

    | Improve this Doc View Source

    SelectedSize

    Gets the currently selected size.

    Declaration
    public virtual double SelectedSize { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    SizeSlider

    Gets the element associated with the size of the ink.

    Declaration
    public virtual Slider SizeSlider { get; }
    Property Value
    Type Description
    Slider

    Methods

    | Improve this Doc View Source

    SetColor(String)

    Sets the color of the ink.

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

    The color to select.

    Exceptions
    Type Condition
    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    | Improve this Doc View Source

    SetColorByPartialName(String)

    Sets the color of the ink by partial color name match.

    Declaration
    public virtual void SetColorByPartialName(string partialColor)
    Parameters
    Type Name Description
    System.String partialColor

    The partial color name to select.

    Exceptions
    Type Condition
    ElementsNotShownException

    Thrown when no elements are shown for the expected locator.

    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