Метод | Описание | |
---|---|---|
WatermarkAdorner ( UIElement adornedElement, object hint, System.Windows.Media.Brush brush ) : System |
Initializes a new instance of the WatermarkAdorner class.
|
Метод | Описание | |
---|---|---|
ArrangeOverride ( |
Positions child elements and determines a size for the WatermarkAdorner.
|
|
GetVisualChild ( int index ) : Visual |
Returns the child at the specified index from the child elements within the element.
|
|
MeasureOverride ( |
Measures the size in layout required for child elements and determines a size for the WatermarkAdorner.
|
Метод | Описание | |
---|---|---|
AdornedElementIsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void |
Invoked when the value of the UIElement.IsVisible property changes on the
|
protected ArrangeOverride ( |
||
finalSize | The final area within the parent that this element should use to arrange itself and /// its children. | |
Результат |
protected GetVisualChild ( int index ) : Visual | ||
index | int | The zero-based index of the requested child element within the element. |
Результат | Visual |
protected MeasureOverride ( |
||
availableSize | The available size that this element can give to child elements. Infinity can /// be specified as a value to indicate that the element will size to whatever content is available. | |
Результат |
public WatermarkAdorner ( UIElement adornedElement, object hint, System.Windows.Media.Brush brush ) : System | ||
adornedElement | UIElement | The |
hint | object | The content of the watermark, typically a |
brush | System.Windows.Media.Brush | The foreground of the watermark. |
Результат | System |