ComponentDesigner.InitializeNonDefault Metoda

Definice

Upozornění

This method has been deprecated. Use InitializeExistingComponent instead. http://go.microsoft.com/fwlink/?linkid=14202

Upozornění

This method has been deprecated. Use InitializeExistingComponent instead. https://go.microsoft.com/fwlink/?linkid=14202

Inicializuje nastavení pro importovanou komponentu, která je již inicializována na jiná nastavení než výchozí hodnoty.

public:
 virtual void InitializeNonDefault();
public virtual void InitializeNonDefault();
[System.Obsolete("This method has been deprecated. Use InitializeExistingComponent instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual void InitializeNonDefault();
[System.Obsolete("This method has been deprecated. Use InitializeExistingComponent instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public virtual void InitializeNonDefault();
abstract member InitializeNonDefault : unit -> unit
override this.InitializeNonDefault : unit -> unit
[<System.Obsolete("This method has been deprecated. Use InitializeExistingComponent instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member InitializeNonDefault : unit -> unit
override this.InitializeNonDefault : unit -> unit
[<System.Obsolete("This method has been deprecated. Use InitializeExistingComponent instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member InitializeNonDefault : unit -> unit
override this.InitializeNonDefault : unit -> unit
Public Overridable Sub InitializeNonDefault ()
Atributy

Poznámky

Tato metoda se volá, pokud je návrhář přidružen k ovládacímu prvku, který není ve výchozím stavu, například ovládací prvek, který vložíte nebo přesunete pomocí operace přetažení do návrháře. Tato metoda poskytuje možnost implementátorům upravit nebo stínovat vlastnosti komponenty, nikoli inicializovat vlastnosti komponenty na jejich výchozí hodnoty. Tato metoda se volá po ostatních inicializačních funkcích.

Platí pro