• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadPasswordBoxAutomationPeer

Represents automation peer for the RadPasswordBox class.

Inheritance
System.Object
RadWatermarkTextBoxAutomationPeer
RadPasswordBoxAutomationPeer
Inherited Members
RadWatermarkTextBoxAutomationPeer.GetItemStatusCore()
RadWatermarkTextBoxAutomationPeer.GetChildrenCore()
RadWatermarkTextBoxAutomationPeer.GetAutomationControlTypeCore()
RadWatermarkTextBoxAutomationPeer.Value
RadWatermarkTextBoxAutomationPeer.IsReadOnly
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll

Syntax

public class RadPasswordBoxAutomationPeer : RadWatermarkTextBoxAutomationPeer, IValueProvider, IToggleProvider

Constructors

RadPasswordBoxAutomationPeer(RadPasswordBox)

Initializes a new instance of the RadPasswordBoxAutomationPeer class.

Declaration
public RadPasswordBoxAutomationPeer(RadPasswordBox owner)
Parameters
RadPasswordBox owner

The owner.

Properties

ToggleState

Gets the toggle state of the control.

Declaration
public ToggleState ToggleState { get; }
Property Value
System.Windows.Automation.ToggleState

The toggle state of the control, as a value of the enumeration.

Methods

GetClassNameCore()

Declaration
protected override string GetClassNameCore()
Returns
System.String

Overrides
RadWatermarkTextBoxAutomationPeer.GetClassNameCore()

GetHelpTextCore()

Declaration
protected override string GetHelpTextCore()
Returns
System.String

Overrides
RadWatermarkTextBoxAutomationPeer.GetHelpTextCore()

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.

Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String

The type of the control.

Overrides
RadWatermarkTextBoxAutomationPeer.GetLocalizedControlTypeCore()

GetPattern(PatternInterface)

Gets the pattern.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface patternInterface

Returns
System.Object

Overrides
RadWatermarkTextBoxAutomationPeer.GetPattern(PatternInterface)

IsPasswordCore()

Declaration
protected override bool IsPasswordCore()
Returns
System.Boolean

SetValue(String)

Sets the value of a control.

Declaration
public override void SetValue(string value)
Parameters
System.String value

Overrides
RadWatermarkTextBoxAutomationPeer.SetValue(String)
Exceptions
System.InvalidOperationException

If locale-specific information is passed to a control in an incorrect format such as an incorrectly formatted date.

System.ArgumentException

If a new value cannot be converted from a string to a format the control recognizes.

System.Windows.Automation.ElementNotEnabledException

When an attempt is made to manipulate a control that is not enabled.

Toggle()

Cycles through the toggle states of a control.

Declaration
public void Toggle()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.