HtmlControlDesigner.OnBehaviorAttached Method
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.
Caution
The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202
Called when a behavior is associated with the element.
protected:
virtual void OnBehaviorAttached();
protected virtual void OnBehaviorAttached();
[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void OnBehaviorAttached();
abstract member OnBehaviorAttached : unit -> unit
override this.OnBehaviorAttached : unit -> unit
[<System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member OnBehaviorAttached : unit -> unit
override this.OnBehaviorAttached : unit -> unit
Protected Overridable Sub OnBehaviorAttached ()
- Attributes
Напомена
The OnBehaviorAttached method is obsolete. Use the SetAttribute and GetAttribute methods on the Tag property to map properties to styles. Use the GetDesignTimeCssAttributes method on the ContainerControlDesigner class to set styles for the control at design time. Override the Initialize method to manipulate the initial styles for the control at design time.
The OnBehaviorAttached() method can be overridden and implemented to perform additional processing when a behavior is attached to the designer.
Производ | Верзије (Застарело) |
---|---|
.NET Framework | 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: