Decorator.GetVisualChild(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the child Visual element at the specified index
position.
protected:
override System::Windows::Media::Visual ^ GetVisualChild(int index);
protected override System.Windows.Media.Visual GetVisualChild (int index);
override this.GetVisualChild : int -> System.Windows.Media.Visual
Protected Overrides Function GetVisualChild (index As Integer) As Visual
Parameters
- index
- Int32
Index position of the child element.
Returns
The child element at the specified index
position.
Exceptions
index
is greater than the number of visual child elements.
Remarks
Because Child can equal only 0 or 1, specifying an index
position greater than 1 or less than 0 results in an ArgumentOutOfRangeException.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.