EventBindingService.SetClassName Method
When overridden in a derived class, identifies the methods that the binding service is referring to as belonging to the specified class.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Sub SetClassName ( _
className As String _
)
public abstract void SetClassName(
string className
)
public:
virtual void SetClassName(
String^ className
) abstract
abstract SetClassName :
className:string -> unit
public abstract function SetClassName(
className : String
)
Parameters
- className
Type: System.String
The name of the class that the methods belong to.
Remarks
The event binding service should record the name and not report any errors until the class is modified by calling one of the following methods:
For XAML, this method is called with the value of the x:Class or x:Subclass attribute, and is called again whenever that value changes. Since the value can be in a transitional state while the user is updating it, it should not be generated until it is used.
.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.
See Also
Reference
Microsoft.Windows.Design.Services Namespace