Method GetCurrent
| Improve this Doc View SourceGetCurrent(DependencyObject)
Gets the BlockView which contains the specified element. This is the getter of Current attached property.
Declaration
public static BlockView GetCurrent(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The specified element. |
Returns
Type | Description |
---|---|
BlockView | BlockView which contains the specified element. null if the specified element is not contained by any BlockView. |