Gets a reference to a parameter, by using the name of the DependencyProperty that would be specified in the parameter's TargetPath.
IPageElementParameter GetParameter(
DependencyObject control,
string propertyName
)
Parameters
- control
-
Type: DependencyObject
A reference to this control.
- propertyName
-
Type: string
The name of the control's DependencyProperty referenced in the parameter's TargetPath.
