Aracılığıyla paylaş


ParentControlDesigner Sınıf

Tanım

İç içe denetimleri destekleyen bir Control öğesinin tasarım modu davranışını genişletir.

public ref class ParentControlDesigner : System::Windows::Forms::Design::ControlDesigner
public class ParentControlDesigner : System.Windows.Forms.Design.ControlDesigner
type ParentControlDesigner = class
    inherit ControlDesigner
Public Class ParentControlDesigner
Inherits ControlDesigner
Devralma
ParentControlDesigner
Türetilmiş

Örnekler

Aşağıdaki örnekte özel ParentControlDesignerbir uygulamasının nasıl uygulanacakları gösterilmektedir. Bu kod örneği, arabirim için IToolboxUser sağlanan daha büyük bir örneğin parçasıdır.

#using <System.Drawing.dll>
#using <System.dll>
#using <System.Design.dll>
#using <System.Windows.Forms.dll>

using namespace System;
using namespace System::Collections;
using namespace System::ComponentModel;
using namespace System::ComponentModel::Design;
using namespace System::Diagnostics;
using namespace System::Drawing;
using namespace System::Drawing::Design;
using namespace System::Windows::Forms;
using namespace System::Windows::Forms::Design;

// This example contains an IRootDesigner that implements the IToolboxUser interface.
// This example demonstrates how to enable the GetToolSupported method of an IToolboxUser
// designer in order to disable specific toolbox items, and how to respond to the 
// invocation of a ToolboxItem in the ToolPicked method of an IToolboxUser implementation.
public ref class SampleRootDesigner;

// The following attribute associates the SampleRootDesigner with this example component.

[DesignerAttribute(__typeof(SampleRootDesigner),__typeof(IRootDesigner))]
public ref class RootDesignedComponent: public Control{};


// This example component class demonstrates the associated IRootDesigner which 
// implements the IToolboxUser interface. When designer view is invoked, Visual 
// Studio .NET attempts to display a design mode view for the class at the top 
// of a code file. This can sometimes fail when the class is one of multiple types 
// in a code file, and has a DesignerAttribute associating it with an IRootDesigner. 
// Placing a derived class at the top of the code file solves this problem. A 
// derived class is not typically needed for this reason, except that placing the 
// RootDesignedComponent class in another file is not a simple solution for a code 
// example that is packaged in one segment of code.
public ref class RootViewSampleComponent: public RootDesignedComponent{};


// This example IRootDesigner implements the IToolboxUser interface and provides a 
// Windows Forms view technology view for its associated component using an internal 
// Control type.     
// The following ToolboxItemFilterAttribute enables the GetToolSupported method of this
// IToolboxUser designer to be queried to check for whether to enable or disable all 
// ToolboxItems which create any components whose type name begins with "System.Windows.Forms".

[ToolboxItemFilterAttribute(S"System.Windows.Forms",ToolboxItemFilterType::Custom)]
public ref class SampleRootDesigner: public ParentControlDesigner, public IRootDesigner, public IToolboxUser
{
public private:
   ref class RootDesignerView;

private:

   // This field is a custom Control type named RootDesignerView. This field references
   // a control that is shown in the design mode document window.
   RootDesignerView^ view;

   // This string array contains type names of components that should not be added to 
   // the component managed by this designer from the Toolbox.  Any ToolboxItems whose 
   // type name matches a type name in this array will be marked disabled according to  
   // the signal returned by the IToolboxUser.GetToolSupported method of this designer.
   array<String^>^blockedTypeNames;

public:
   SampleRootDesigner()
   {
      array<String^>^tempTypeNames = {"System.Windows.Forms.ListBox","System.Windows.Forms.GroupBox"};
      blockedTypeNames = tempTypeNames;
   }


private:

   property array<ViewTechnology>^ SupportedTechnologies 
   {

      // IRootDesigner.SupportedTechnologies is a required override for an IRootDesigner.
      // This designer provides a display using the Windows Forms view technology.
      array<ViewTechnology>^ IRootDesigner::get()
      {
         ViewTechnology temp0[] = {ViewTechnology::WindowsForms};
         return temp0;
      }

   }

   // This method returns an object that provides the view for this root designer. 
   Object^ IRootDesigner::GetView( ViewTechnology technology )
   {
      
      // If the design environment requests a view technology other than Windows 
      // Forms, this method throws an Argument Exception.
      if ( technology != ViewTechnology::WindowsForms )
            throw gcnew ArgumentException( "An unsupported view technology was requested","Unsupported view technology." );

      
      // Creates the view object if it has not yet been initialized.
      if ( view == nullptr )
            view = gcnew RootDesignerView( this );

      return view;
   }


   // This method can signal whether to enable or disable the specified
   // ToolboxItem when the component associated with this designer is selected.
   bool IToolboxUser::GetToolSupported( ToolboxItem^ tool )
   {
      
      // Search the blocked type names array for the type name of the tool
      // for which support for is being tested. Return false to indicate the
      // tool should be disabled when the associated component is selected.
      for ( int i = 0; i < blockedTypeNames->Length; i++ )
         if ( tool->TypeName == blockedTypeNames[ i ] )
                  return false;

      
      // Return true to indicate support for the tool, if the type name of the
      // tool is not located in the blockedTypeNames string array.
      return true;
   }


   // This method can perform behavior when the specified tool has been invoked.
   // Invocation of a ToolboxItem typically creates a component or components, 
   // and adds any created components to the associated component.
   void IToolboxUser::ToolPicked( ToolboxItem^ /*tool*/ ){}


public private:

   // This control provides a Windows Forms view technology view object that 
   // provides a display for the SampleRootDesigner.

   [DesignerAttribute(__typeof(ParentControlDesigner),__typeof(IDesigner))]
   ref class RootDesignerView: public Control
   {
   private:

      // This field stores a reference to a designer.
      IDesigner^ m_designer;

   public:
      RootDesignerView( IDesigner^ designer )
      {
         
         // Perform basic control initialization.
         m_designer = designer;
         BackColor = Color::Blue;
         Font = gcnew System::Drawing::Font( Font->FontFamily->Name,24.0f );
      }


   protected:

      // This method is called to draw the view for the SampleRootDesigner.
      void OnPaint( PaintEventArgs^ pe )
      {
         Control::OnPaint( pe );
         
         // Draw the name of the component in large letters.
         pe->Graphics->DrawString( m_designer->Component->Site->Name, Font, Brushes::Yellow, ClientRectangle );
      }

   };


};
using System;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Design;
using System.Windows.Forms;
using System.Windows.Forms.Design;

// This example contains an IRootDesigner that implements the IToolboxUser interface.
// This example demonstrates how to enable the GetToolSupported method of an IToolboxUser
// designer in order to disable specific toolbox items, and how to respond to the 
// invocation of a ToolboxItem in the ToolPicked method of an IToolboxUser implementation.
namespace IToolboxUserExample
{
    // This example component class demonstrates the associated IRootDesigner which 
    // implements the IToolboxUser interface. When designer view is invoked, Visual 
    // Studio .NET attempts to display a design mode view for the class at the top 
    // of a code file. This can sometimes fail when the class is one of multiple types 
    // in a code file, and has a DesignerAttribute associating it with an IRootDesigner. 
    // Placing a derived class at the top of the code file solves this problem. A 
    // derived class is not typically needed for this reason, except that placing the 
    // RootDesignedComponent class in another file is not a simple solution for a code 
    // example that is packaged in one segment of code.
    public class RootViewSampleComponent : RootDesignedComponent
    {
    }

    // The following attribute associates the SampleRootDesigner with this example component.
    [DesignerAttribute(typeof(SampleRootDesigner), typeof(IRootDesigner))]
    public class RootDesignedComponent : System.Windows.Forms.Control
    {
    }

    // This example IRootDesigner implements the IToolboxUser interface and provides a 
    // Windows Forms view technology view for its associated component using an internal 
    // Control type.     
    // The following ToolboxItemFilterAttribute enables the GetToolSupported method of this
    // IToolboxUser designer to be queried to check for whether to enable or disable all 
    // ToolboxItems which create any components whose type name begins with "System.Windows.Forms".
    [ToolboxItemFilterAttribute("System.Windows.Forms", ToolboxItemFilterType.Custom)]
    public class SampleRootDesigner : ParentControlDesigner, IRootDesigner, IToolboxUser
    {
        // This field is a custom Control type named RootDesignerView. This field references
        // a control that is shown in the design mode document window.
        private RootDesignerView view;

        // This string array contains type names of components that should not be added to 
        // the component managed by this designer from the Toolbox.  Any ToolboxItems whose 
        // type name matches a type name in this array will be marked disabled according to  
        // the signal returned by the IToolboxUser.GetToolSupported method of this designer.
        private string[] blockedTypeNames =
        {
            "System.Windows.Forms.ListBox",
            "System.Windows.Forms.GroupBox"
        };

        // IRootDesigner.SupportedTechnologies is a required override for an IRootDesigner.
        // This designer provides a display using the Windows Forms view technology.
        ViewTechnology[] IRootDesigner.SupportedTechnologies 
        {
            get { return new ViewTechnology[] {ViewTechnology.Default}; }
        }

        // This method returns an object that provides the view for this root designer. 
        object IRootDesigner.GetView(ViewTechnology technology) 
        {
            // If the design environment requests a view technology other than Windows 
            // Forms, this method throws an Argument Exception.
            if (technology != ViewTechnology.Default)            
                throw new ArgumentException("An unsupported view technology was requested", 
                "Unsupported view technology.");            
            
            // Creates the view object if it has not yet been initialized.
            if (view == null)                            
                view = new RootDesignerView(this);          
  
            return view;
        }

        // This method can signal whether to enable or disable the specified
        // ToolboxItem when the component associated with this designer is selected.
        bool IToolboxUser.GetToolSupported(ToolboxItem tool)
        {       
            // Search the blocked type names array for the type name of the tool
            // for which support for is being tested. Return false to indicate the
            // tool should be disabled when the associated component is selected.
            for( int i=0; i<blockedTypeNames.Length; i++ )
                if( tool.TypeName == blockedTypeNames[i] )
                    return false;
            
            // Return true to indicate support for the tool, if the type name of the
            // tool is not located in the blockedTypeNames string array.
            return true;
        }
    
        // This method can perform behavior when the specified tool has been invoked.
        // Invocation of a ToolboxItem typically creates a component or components, 
        // and adds any created components to the associated component.
        void IToolboxUser.ToolPicked(ToolboxItem tool)
        {
        }

        // This control provides a Windows Forms view technology view object that 
        // provides a display for the SampleRootDesigner.
        [DesignerAttribute(typeof(ParentControlDesigner), typeof(IDesigner))]
        internal class RootDesignerView : Control
        {
            // This field stores a reference to a designer.
            private IDesigner m_designer;

            public RootDesignerView(IDesigner designer)
            {
                // Perform basic control initialization.
                m_designer = designer;
                BackColor = Color.Blue;
                Font = new Font(Font.FontFamily.Name, 24.0f);                
            }

            // This method is called to draw the view for the SampleRootDesigner.
            protected override void OnPaint(PaintEventArgs pe)
            {
                base.OnPaint(pe);
                // Draw the name of the component in large letters.
                pe.Graphics.DrawString(m_designer.Component.Site.Name, Font, Brushes.Yellow, ClientRectangle);
            }
        }
    }
}
Imports System.Collections
Imports System.ComponentModel
Imports System.ComponentModel.Design
Imports System.Diagnostics
Imports System.Drawing
Imports System.Drawing.Design
Imports System.Windows.Forms
Imports System.Windows.Forms.Design

' This example contains an IRootDesigner that implements the IToolboxUser interface.
' This example demonstrates how to enable the GetToolSupported method of an IToolboxUser
' designer in order to disable specific toolbox items, and how to respond to the 
' invocation of a ToolboxItem in the ToolPicked method of an IToolboxUser implementation.
' This example component class demonstrates the associated IRootDesigner which 
' implements the IToolboxUser interface. When designer view is invoked, Visual 
' Studio .NET attempts to display a design mode view for the class at the top 
' of a code file. This can sometimes fail when the class is one of multiple types 
' in a code file, and has a DesignerAttribute associating it with an IRootDesigner. 
' Placing a derived class at the top of the code file solves this problem. A 
' derived class is not typically needed for this reason, except that placing the 
' RootDesignedComponent class in another file is not a simple solution for a code 
' example that is packaged in one segment of code.

Public Class RootViewSampleComponent
    Inherits RootDesignedComponent
End Class

' The following attribute associates the SampleRootDesigner with this example component.
<DesignerAttribute(GetType(SampleRootDesigner), GetType(IRootDesigner))> _
Public Class RootDesignedComponent
    Inherits System.Windows.Forms.Control
End Class

' This example IRootDesigner implements the IToolboxUser interface and provides a 
' Windows Forms view technology view for its associated component using an internal 
' Control type.     
' The following ToolboxItemFilterAttribute enables the GetToolSupported method of this
' IToolboxUser designer to be queried to check for whether to enable or disable all 
' ToolboxItems which create any components whose type name begins with "System.Windows.Forms".
<ToolboxItemFilterAttribute("System.Windows.Forms", ToolboxItemFilterType.Custom)> _
<System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
Public Class SampleRootDesigner
    Inherits ParentControlDesigner
    Implements IRootDesigner, IToolboxUser

    ' Member field of custom type RootDesignerView, a control that is shown in the 
    ' design mode document window. This member is cached to reduce processing needed 
    ' to recreate the view control on each call to GetView().
    Private m_view As RootDesignerView

    ' This string array contains type names of components that should not be added to 
    ' the component managed by this designer from the Toolbox.  Any ToolboxItems whose 
    ' type name matches a type name in this array will be marked disabled according to  
    ' the signal returned by the IToolboxUser.GetToolSupported method of this designer.
    Private blockedTypeNames As String() = {"System.Windows.Forms.ListBox", "System.Windows.Forms.GroupBox"}

    ' IRootDesigner.SupportedTechnologies is a required override for an IRootDesigner.
    ' This designer provides a display using the Windows Forms view technology.
    ReadOnly Property SupportedTechnologies() As ViewTechnology() Implements IRootDesigner.SupportedTechnologies
        Get
            Return New ViewTechnology() {ViewTechnology.Default}
        End Get
    End Property

    ' This method returns an object that provides the view for this root designer. 
    Function GetView(ByVal technology As ViewTechnology) As Object Implements IRootDesigner.GetView
        ' If the design environment requests a view technology other than Windows 
        ' Forms, this method throws an Argument Exception.
        If technology <> ViewTechnology.Default Then
            Throw New ArgumentException("An unsupported view technology was requested", "Unsupported view technology.")
        End If

        ' Creates the view object if it has not yet been initialized.
        If m_view Is Nothing Then
            m_view = New RootDesignerView(Me)
        End If
        Return m_view
    End Function

    ' This method can signal whether to enable or disable the specified
    ' ToolboxItem when the component associated with this designer is selected.
    Function GetToolSupported(ByVal tool As ToolboxItem) As Boolean Implements IToolboxUser.GetToolSupported
        ' Search the blocked type names array for the type name of the tool
        ' for which support for is being tested. Return false to indicate the
        ' tool should be disabled when the associated component is selected.
        Dim i As Integer
        For i = 0 To blockedTypeNames.Length - 1
            If tool.TypeName = blockedTypeNames(i) Then
                Return False
            End If
        Next i ' Return true to indicate support for the tool, if the type name of the
        ' tool is not located in the blockedTypeNames string array.
        Return True
    End Function

    ' This method can perform behavior when the specified tool has been invoked.
    ' Invocation of a ToolboxItem typically creates a component or components, 
    ' and adds any created components to the associated component.
    Sub ToolPicked(ByVal tool As ToolboxItem) Implements IToolboxUser.ToolPicked
    End Sub

    ' This control provides a Windows Forms view technology view object that 
    ' provides a display for the SampleRootDesigner.
    <DesignerAttribute(GetType(ParentControlDesigner), GetType(IDesigner))> _
    Friend Class RootDesignerView
        Inherits Control
        ' This field stores a reference to a designer.
        Private m_designer As IDesigner

        Public Sub New(ByVal designer As IDesigner)
            ' Performs basic control initialization.
            m_designer = designer
            BackColor = Color.Blue
            Font = New Font(Font.FontFamily.Name, 24.0F)
        End Sub

        ' This method is called to draw the view for the SampleRootDesigner.
        Protected Overrides Sub OnPaint(ByVal pe As PaintEventArgs)
            MyBase.OnPaint(pe)
            ' Draws the name of the component in large letters.
            pe.Graphics.DrawString(m_designer.Component.Site.Name, Font, Brushes.Yellow, New RectangleF(ClientRectangle.X, ClientRectangle.Y, ClientRectangle.Width, ClientRectangle.Height))
        End Sub
    End Class
End Class

Açıklamalar

ParentControlDesigner alt denetimler içerebilen denetim tasarımcıları için bir temel sınıf sağlar. ve ComponentDesigner sınıflarından devralınan ControlDesigner yöntemlere ve işlevlere ek olarak, ParentControlDesigner alt denetimlerin tasarım zamanında davranışını genişleten denetime eklenmesini, bu denetimden kaldırılmasını, içinde seçilmesini ve düzenlenmesini sağlar.

kullanarak DesignerAttributebir tasarımcıyı bir türle ilişkilendirebilirsiniz. Tasarım zamanı davranışını özelleştirmeye genel bakış için bkz. Design-Time Desteğini Genişletme.

Oluşturucular

ParentControlDesigner()

ParentControlDesigner sınıfının yeni bir örneğini başlatır.

Alanlar

accessibilityObj

Tasarımcının erişilebilirlik nesnesini belirtir.

(Devralındığı yer: ControlDesigner)

Özellikler

AccessibilityObject

Denetime AccessibleObject atananı alır.

(Devralındığı yer: ControlDesigner)
ActionLists

Tasarımcıyla ilişkilendirilmiş bileşen tarafından desteklenen tasarım zamanı eylem listelerini alır.

(Devralındığı yer: ComponentDesigner)
AllowControlLasso

Seçili denetimlerin yeniden üst öğeye alınıp alınmayacağını belirten bir değer alır.

AllowGenericDragBox

Tasarımcının yüzeyi üzerinde bir araç kutusu öğesi sürüklenirken genel bir sürükleme kutusunun çizilip çizilmeyeceğini belirten bir değer alır.

AllowSetChildIndexOnDrop

Sürüklenen denetimlerin z sırasının bir üzerine bırakıldığında korunması gerekip gerekmediğini belirten bir ParentControlDesignerdeğer alır.

AssociatedComponents

Tasarımcı tarafından yönetilen bileşenle ilişkili bileşenlerin koleksiyonunu alır.

(Devralındığı yer: ControlDesigner)
AutoResizeHandles

Yeniden boyutlandırma tutamacı ayırmasının özelliğin AutoSize değerine bağlı olup olmadığını belirten bir değeri alır veya ayarlar.

(Devralındığı yer: ControlDesigner)
BehaviorService

tasarım ortamından öğesini BehaviorService alır.

(Devralındığı yer: ControlDesigner)
Component

Bu tasarımcının tasarlıyor olduğu bileşeni alır.

(Devralındığı yer: ComponentDesigner)
Control

Tasarımcının tasarlıyor olduğu denetimi alır.

(Devralındığı yer: ControlDesigner)
DefaultControlLocation

Tasarımcıya eklenen denetimin varsayılan konumunu alır.

DrawGrid

Bu tasarımcının denetiminde bir kılavuz çizilip çizilmeyeceğini belirten bir değer alır veya ayarlar.

EnableDragRect

Sürükle dikdörtgenlerinin tasarımcı tarafından çizilip çizildiğini belirten bir değer alır.

GridSize

Tasarımcı kılavuz çizim modundayken çizilen kılavuzun her karesinin boyutunu alır veya ayarlar.

InheritanceAttribute

Tasarımcının InheritanceAttribute öğesini alır.

(Devralındığı yer: ControlDesigner)
Inherited

Bu bileşenin devralınıp devralınmadığını belirten bir değer alır.

(Devralındığı yer: ComponentDesigner)
MouseDragTool

Sürükleme işlemi sırasında tasarımcının geçerli bir aracı olup olmadığını belirten bir değer alır.

ParentComponent

için ControlDesignerüst bileşeni alır.

(Devralındığı yer: ControlDesigner)
ParticipatesWithSnapLines

öğesinin bir sürükleme işlemi sırasında ek çizgi hizalamasına ControlDesigner izin verip vermeyeceğini belirten bir değer alır.

(Devralındığı yer: ControlDesigner)
SelectionRules

Bir bileşenin hareket özelliklerini gösteren seçim kurallarını alır.

(Devralındığı yer: ControlDesigner)
ShadowProperties

Kullanıcı ayarlarını geçersiz kılan özellik değerleri koleksiyonunu alır.

(Devralındığı yer: ComponentDesigner)
SnapLines

Bu denetim için önemli hizalama noktalarını temsil eden nesnelerin listesini SnapLine alır.

SnapLines

Bu denetim için önemli hizalama noktalarını temsil eden nesnelerin listesini SnapLine alır.

(Devralındığı yer: ControlDesigner)
Verbs

Tasarımcıyla ilişkili bileşen tarafından desteklenen tasarım zamanı fiillerini alır.

(Devralındığı yer: ComponentDesigner)

Yöntemler

AddPaddingSnapLines(ArrayList)

Doldurma ek çizgileri ekler.

BaseWndProc(Message)

Windows iletilerini işler.

(Devralındığı yer: ControlDesigner)
CanAddComponent(IComponent)

Bir bileşen üst kapsayıcıya eklendiğinde çağrılır.

CanBeParentedTo(IDesigner)

Bu tasarımcının denetiminin belirtilen tasarımcının denetimi tarafından üst öğe oluşturulabileceğini gösterir.

(Devralındığı yer: ControlDesigner)
CanParent(Control)

Belirtilen denetimin bu tasarımcı tarafından yönetilen denetimin alt öğesi olup olmadığını gösterir.

CanParent(ControlDesigner)

Belirtilen tasarımcı tarafından yönetilen denetimin bu tasarımcı tarafından yönetilen denetimin alt öğesi olup olmadığını gösterir.

CreateTool(ToolboxItem)

Belirtilen araçtan bir bileşen veya denetim oluşturur ve bunu geçerli tasarım belgesine ekler.

CreateTool(ToolboxItem, Point)

Belirtilen araçtan bir bileşen veya denetim oluşturur ve bunu belirtilen konumdaki geçerli tasarım belgesine ekler.

CreateTool(ToolboxItem, Rectangle)

Belirtilen araçtan bir bileşen veya denetim oluşturur ve bunu belirtilen dikdörtgenin sınırları içinde geçerli tasarım belgesine ekler.

CreateToolCore(ToolboxItem, Int32, Int32, Int32, Int32, Boolean, Boolean)

Tüm CreateTool(ToolboxItem) yöntemler için temel işlevsellik sağlar.

DefWndProc(Message)

Windows iletileri için varsayılan işlemeyi sağlar.

(Devralındığı yer: ControlDesigner)
DisplayError(Exception)

Kullanıcıya belirtilen özel durumla ilgili bilgileri görüntüler.

(Devralındığı yer: ControlDesigner)
Dispose()

ComponentDesigner tarafından kullanılan tüm kaynakları serbest bırakır.

(Devralındığı yer: ComponentDesigner)
Dispose(Boolean)

tarafından ParentControlDesignerkullanılan yönetilmeyen kaynakları serbest bırakır ve isteğe bağlı olarak yönetilen kaynakları serbest bırakır.

DoDefaultAction()

Bileşendeki varsayılan olay için kaynak kod dosyasında bir yöntem imzası oluşturur ve kullanıcının imlecini bu konuma gider.

(Devralındığı yer: ComponentDesigner)
EnableDesignMode(Control, String)

Alt denetim için tasarım süresi işlevselliğini etkinleştirir.

(Devralındığı yer: ControlDesigner)
EnableDragDrop(Boolean)

Tasarlanan denetim için sürükle ve bırak desteğini etkinleştirir veya devre dışı bırakır.

(Devralındığı yer: ControlDesigner)
Equals(Object)

Belirtilen nesnenin geçerli nesneye eşit olup olmadığını belirler.

(Devralındığı yer: Object)
GetControl(Object)

Belirtilen bileşenin tasarımcısından denetimi alır.

GetControlGlyph(GlyphSelectionType)

Denetimin sınırlarını temsil eden bir gövde karakteri alır.

GetControlGlyph(GlyphSelectionType)

Bu denetimin sınırlarını temsil eden bir ControlBodyGlyph döndürür.

(Devralındığı yer: ControlDesigner)
GetGlyphs(GlyphSelectionType)

Standart denetim için seçim kenarlıklarını ve tutamaçları temsil eden bir nesne koleksiyonunu Glyph alır.

GetGlyphs(GlyphSelectionType)

Standart denetim için seçim kenarlıklarını ve tutamaçları temsil eden bir nesne koleksiyonunu Glyph alır.

(Devralındığı yer: ControlDesigner)
GetHashCode()

Varsayılan karma işlevi işlevi görür.

(Devralındığı yer: Object)
GetHitTest(Point)

Belirtilen noktada fare tıklamasının denetim tarafından işlenip işlenmeyeceğini gösterir.

(Devralındığı yer: ControlDesigner)
GetParentForComponent(IComponent)

Sınıflar türetilerek, tasarımı yapılan denetimi mi yoksa bileşen eklerken başka Container bir denetimi mi döndüreceğini belirlemek için kullanılır.

GetService(Type)

Tasarımcının bileşeninin tasarım modu sitesinden belirtilen hizmet türünü almaya çalışır.

(Devralındığı yer: ComponentDesigner)
GetType()

Type Geçerli örneğini alır.

(Devralındığı yer: Object)
GetUpdatedRect(Rectangle, Rectangle, Boolean)

Belirtilen dikdörtgenin konumunu güncelleştirir ve kılavuz hizalama modu etkinse kılavuz hizalaması için ayarlar.

HookChildControls(Control)

Belirtilen denetimin alt denetimlerinden gelen iletileri tasarımcıya yönlendirir.

(Devralındığı yer: ControlDesigner)
Initialize(IComponent)

Tasarımcıyı belirtilen bileşenle başlatır.

InitializeExistingComponent(IDictionary)

Mevcut bir bileşeni yeniden başlatır.

(Devralındığı yer: ControlDesigner)
InitializeNewComponent(IDictionary)

Yeni oluşturulan bir bileşeni başlatır.

InitializeNewComponent(IDictionary)

Yeni oluşturulan bir bileşeni başlatır.

(Devralındığı yer: ControlDesigner)
InitializeNonDefault()

Denetimin özelliklerini varsayılan olmayan değerlere başlatır.

(Devralındığı yer: ControlDesigner)
InternalControlDesigner(Int32)

içinde belirtilen dizine sahip iç denetim tasarımcısını ControlDesignerdöndürür.

(Devralındığı yer: ControlDesigner)
InvokeCreateTool(ParentControlDesigner, ToolboxItem)

Belirtilen ToolboxItemkonumundan bir araç oluşturur.

InvokeGetInheritanceAttribute(ComponentDesigner)

InheritanceAttribute Belirtilen ComponentDesigneröğesinin değerini alır.

(Devralındığı yer: ComponentDesigner)
MemberwiseClone()

Geçerli Objectöğesinin sığ bir kopyasını oluşturur.

(Devralındığı yer: Object)
NumberOfInternalControlDesigners()

içindeki ControlDesigneriç denetim tasarımcılarının sayısını döndürür.

(Devralındığı yer: ControlDesigner)
OnContextMenu(Int32, Int32)

Bağlam menüsünü gösterir ve bağlam menüsü görüntülenmek üzereyken ek işlem gerçekleştirme fırsatı sağlar.

(Devralındığı yer: ControlDesigner)
OnCreateHandle()

Denetim tutamacı oluşturulduktan hemen sonra ek işlem gerçekleştirme fırsatı sağlar.

(Devralındığı yer: ControlDesigner)
OnDragComplete(DragEventArgs)

Sürükle ve bırak işlemini temizlemek için çağrılır.

OnDragComplete(DragEventArgs)

Sürükle ve bırak işlemini temizlemek için bir çağrı alır.

(Devralındığı yer: ControlDesigner)
OnDragDrop(DragEventArgs)

Sürükle ve bırak nesnesi denetim tasarımcısı görünümüne bırakıldığında çağrılır.

OnDragEnter(DragEventArgs)

Sürükle ve bırak işlemi denetim tasarımcısı görünümüne girdiğinde çağrılır.

OnDragLeave(EventArgs)

Sürükle ve bırak işlemi denetim tasarımcısı görünümünden ayrıldığında çağrılır.

OnDragOver(DragEventArgs)

Sürükle ve bırak nesnesi denetim tasarımcısı görünümünün üzerine sürüklendiğinde çağrılır.

OnGiveFeedback(GiveFeedbackEventArgs)

Sürükle ve bırak işlemi devam ederken farenin konumuna göre görsel ipuçları sağlamak için sürükle ve bırak işlemi devam ederken çağrılır.

OnGiveFeedback(GiveFeedbackEventArgs)

Sürükle ve bırak işlemi devam ederken farenin konumuna göre görsel ipuçları sağlamak için sürükle ve bırak işlemi devam ederken bir çağrı alır.

(Devralındığı yer: ControlDesigner)
OnMouseDragBegin(Int32, Int32)

Bileşenin üzerindeyken basılı tutulan sol fare düğmesine yanıt olarak çağrılır.

OnMouseDragEnd(Boolean)

İşlemi tamamlamak veya iptal etmek için sürükle ve bırak işleminin sonunda çağrılır.

OnMouseDragMove(Int32, Int32)

Sürükle ve bırak işlemi sırasında farenin her hareketi için çağrılır.

OnMouseEnter()

Fare denetime ilk girdiğinde çağrılır.

OnMouseEnter()

Fare denetime ilk girdiğinde bir çağrı alır.

(Devralındığı yer: ControlDesigner)
OnMouseHover()

Fare denetimin üzerine getirildikten sonra çağrılır.

OnMouseHover()

Fare denetimin üzerine getirildikten sonra bir çağrı alır.

(Devralındığı yer: ControlDesigner)
OnMouseLeave()

Fare denetime ilk girdiğinde çağrılır.

OnMouseLeave()

Fare denetime ilk girdiğinde bir çağrı alır.

(Devralındığı yer: ControlDesigner)
OnPaintAdornments(PaintEventArgs)

Tasarımcının yönettiği denetim, tasarımcının denetimin üzerine ek süslemeler boyayabilmesi için yüzeyini boyadığında çağrılır.

OnSetComponentDefaults()
Kullanımdan kalktı.
Kullanımdan kalktı.

Tasarımcı başlatıldığında çağrılır.

(Devralındığı yer: ControlDesigner)
OnSetCursor()

Geçerli fare imlecini değiştirme fırsatı sağlar.

PostFilterAttributes(IDictionary)

Tasarımcının aracılığıyla kullanıma verdiği TypeDescriptoröznitelik kümesindeki öğeleri değiştirmesine veya kaldırmasına izin verir.

(Devralındığı yer: ComponentDesigner)
PostFilterEvents(IDictionary)

Tasarımcının aracılığıyla kullanıma verdiği TypeDescriptorolay kümesindeki öğeleri değiştirmesine veya kaldırmasına izin verir.

(Devralındığı yer: ComponentDesigner)
PostFilterProperties(IDictionary)

Tasarımcının aracılığıyla kullanıma verdiği TypeDescriptorözellik kümesindeki öğeleri değiştirmesine veya kaldırmasına izin verir.

(Devralındığı yer: ComponentDesigner)
PreFilterAttributes(IDictionary)

Tasarımcının aracılığıyla TypeDescriptorkullanıma verdiği öznitelik kümesine eklemesine izin verir.

(Devralındığı yer: ComponentDesigner)
PreFilterEvents(IDictionary)

Tasarımcının aracılığıyla TypeDescriptorkullanıma verdiği olay kümesine eklemesine izin verir.

(Devralındığı yer: ComponentDesigner)
PreFilterProperties(IDictionary)

Bileşenin aracılığıyla TypeDescriptorkullanıma sunulacak özellikler kümesini ayarlar.

RaiseComponentChanged(MemberDescriptor, Object, Object)

Bu bileşenin IComponentChangeService değiştirildiğini bildirir.

(Devralındığı yer: ComponentDesigner)
RaiseComponentChanging(MemberDescriptor)

Bu bileşenin IComponentChangeService değiştirilmek üzere olduğunu bildirir.

(Devralındığı yer: ComponentDesigner)
ToString()

Geçerli nesneyi temsil eden dizeyi döndürür.

(Devralındığı yer: Object)
UnhookChildControls(Control)

Belirtilen denetimin alt öğelerine yönelik iletileri üst tasarımcı yerine her denetime yönlendirir.

(Devralındığı yer: ControlDesigner)
WndProc(Message)

Windows iletilerini işler.

WndProc(Message)

İletileri Windows işler ve isteğe bağlı olarak bunları denetime yönlendirir.

(Devralındığı yer: ControlDesigner)

Belirtik Arabirim Kullanımları

IDesignerFilter.PostFilterAttributes(IDictionary)

Bu üyenin açıklaması için yöntemine PostFilterAttributes(IDictionary) bakın.

(Devralındığı yer: ComponentDesigner)
IDesignerFilter.PostFilterEvents(IDictionary)

Bu üyenin açıklaması için yöntemine PostFilterEvents(IDictionary) bakın.

(Devralındığı yer: ComponentDesigner)
IDesignerFilter.PostFilterProperties(IDictionary)

Bu üyenin açıklaması için yöntemine PostFilterProperties(IDictionary) bakın.

(Devralındığı yer: ComponentDesigner)
IDesignerFilter.PreFilterAttributes(IDictionary)

Bu üyenin açıklaması için yöntemine PreFilterAttributes(IDictionary) bakın.

(Devralındığı yer: ComponentDesigner)
IDesignerFilter.PreFilterEvents(IDictionary)

Bu üyenin açıklaması için yöntemine PreFilterEvents(IDictionary) bakın.

(Devralındığı yer: ComponentDesigner)
IDesignerFilter.PreFilterProperties(IDictionary)

Bu üyenin açıklaması için yöntemine PreFilterProperties(IDictionary) bakın.

(Devralındığı yer: ComponentDesigner)
ITreeDesigner.Children

Bu üyenin açıklaması için özelliğine Children bakın.

(Devralındığı yer: ComponentDesigner)
ITreeDesigner.Parent

Bu üyenin açıklaması için özelliğine Parent bakın.

(Devralındığı yer: ComponentDesigner)

Şunlara uygulanır

Ayrıca bkz.