SearchOptionButton.AddOptionButtonClickedHandler Method
Adds the specified event handler to the specified option button.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Sub AddOptionButtonClickedHandler ( _
d As DependencyObject, _
handler As RoutedEventHandler _
)
public static void AddOptionButtonClickedHandler(
DependencyObject d,
RoutedEventHandler handler
)
public:
static void AddOptionButtonClickedHandler(
DependencyObject^ d,
RoutedEventHandler^ handler
)
static member AddOptionButtonClickedHandler :
d:DependencyObject *
handler:RoutedEventHandler -> unit
public static function AddOptionButtonClickedHandler(
d : DependencyObject,
handler : RoutedEventHandler
)
Parameters
d
Type: System.Windows.DependencyObjectThe option button.
handler
Type: System.Windows.RoutedEventHandlerThe event handler to add.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.