C# Class csShared.Controls.WatermarkAdorner

Inheritance: System.Windows.Documents.Adorner
Afficher le fichier Open project: TNOCS/csTouch

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
WatermarkAdorner ( UIElement adornedElement, object watermark ) : System

Initializes a new instance of the WatermarkAdorner class

Méthodes protégées

Méthode Description
ArrangeOverride ( Size finalSize ) : Size

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

GetVisualChild ( int index ) : Visual

Returns a specified child Visual for the parent ContainerVisual.

MeasureOverride ( Size constraint ) : Size

Implements any custom measuring behavior for the adorner.

Method Details

ArrangeOverride() protected méthode

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent that this element should use to arrange itself and its children.
Résultat System.Windows.Size

GetVisualChild() protected méthode

Returns a specified child Visual for the parent ContainerVisual.
protected GetVisualChild ( int index ) : Visual
index int A 32-bit signed integer that represents the index value of the child . The value of index must be between 0 and - 1.
Résultat Visual

MeasureOverride() protected méthode

Implements any custom measuring behavior for the adorner.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size A size to constrain the adorner to.
Résultat System.Windows.Size

WatermarkAdorner() public méthode

Initializes a new instance of the WatermarkAdorner class
public WatermarkAdorner ( UIElement adornedElement, object watermark ) : System
adornedElement UIElement to be adorned
watermark object The watermark
Résultat System