Table of Contents

Namespace Tudormobile.Wpf.Behaviors

Classes

Behavior<T>

Provides utility methods for managing attached properties and adorners for elements of type T.

Button

Provides attached properties and methods for adding confirmation behavior to buttons.

ConfirmParameters

Represents a set of parameters used to configure and display a confirmation dialog.

ContentControl

Content control behaviors (attached properties).

Transition property will apply a storyboard animation when the content property changes.

Popup

Adds a 'Popup' (Menu, Popup, or arbitrary content) to existing framework elements. Frequently used to add 'drop-down' menus and other content to controls such as Buttons, Images, and text.

The popup content can be a ContextMenu, Popup Control, or any content that can be hosted in a Popup control. A glyph in the form of a down arrow (or right-facing arrow) is overlayed, which makes this implementation mostly compatible with any control template and theme (Original, Fluent, Dark, Light, etc.). You may need to adjust things like button padding, or place your control in a frame to achieve the desired visuals, but the glyph is designed to work in many environemnts without having to define custome templates. As such, this behavior does not contain any visuals that can be modified.

ProgressBar

Progress bar behaviors (attached properties).

CornerRadius will sylize pogress bar elements with a corder radius value.

TextBox

Provides attached properties and behaviors for a TextBox control, including glyph adorners, placeholder text, and auto-select functionality.