IControlDesignerAccessor Interface
Definition
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.
Provides access to a control designer to store temporary design-time data associated with a control.
public interface class IControlDesignerAccessor
public interface IControlDesignerAccessor
type IControlDesignerAccessor = interface
Public Interface IControlDesignerAccessor
- Derived
Remarks
The property and methods defined in the IControlDesignerAccessor interface offer a convenient way for the control designer to access a control for passing and retrieving temporary design-time data. The interface is implemented by the Control class. Control designers use the implementation of this interface to access the control.
Temporary design-time data is not persisted with the control itself. To persist design-time data for a control, you should retrieve the contents of the UserData property and store them in a designer-specific location.
Properties
UserData |
When implemented, gets a collection of information that can be accessed by a control designer. |
Methods
GetDesignModeState() |
When implemented, gets the state from the control during use on the design surface. |
SetDesignModeState(IDictionary) |
When implemented, sets control state before rendering it on the design surface. |
SetOwnerControl(Control) |
When implemented, specifies the control that acts as the owner to the control implementing this method. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기