HtmlControlDesigner.OnBehaviorDetaching 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202
동작이 요소에서 분리될 때 호출됩니다.
protected:
virtual void OnBehaviorDetaching();
protected virtual void OnBehaviorDetaching ();
[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void OnBehaviorDetaching ();
abstract member OnBehaviorDetaching : unit -> unit
override this.OnBehaviorDetaching : unit -> unit
[<System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member OnBehaviorDetaching : unit -> unit
override this.OnBehaviorDetaching : unit -> unit
Protected Overridable Sub OnBehaviorDetaching ()
- 특성
설명
참고
OnBehaviorDetaching 메서드는 사용 되지 않습니다. 속성의 및 메서드를 사용하여 SetAttribute 속성을 GetAttribute Tag 스타일에 매핑합니다. 사용 하 여는 GetDesignTimeCssAttributes 메서드를 ContainerControlDesigner 디자인 타임에 컨트롤에 대 한 스타일을 설정 하는 클래스입니다. 재정의 Dispose 컨트롤 디자이너에 대 한 메서드 디자이너 개체를 해제 하기 전에 작업을 수행 합니다.
상속자 참고
M:System.Web.UI.Design.HtmlControlDesigner.OnBehaviorDetaching 메서드를 재정의하고 구현하여 동작이 디자이너에서 분리될 때 추가 처리를 수행할 수 있습니다.