Style.RegisterStyle(String, Type, Object, Boolean) Método

Definición

Registra una propiedad de estilo y devuelve una clave única para la búsqueda. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulta Mobile Apps & Sitios con ASP.NET.

public:
 static System::Object ^ RegisterStyle(System::String ^ name, Type ^ type, System::Object ^ defaultValue, bool inherit);
public static object RegisterStyle(string name, Type type, object defaultValue, bool inherit);
static member RegisterStyle : string * Type * obj * bool -> obj
Public Shared Function RegisterStyle (name As String, type As Type, defaultValue As Object, inherit As Boolean) As Object

Parámetros

name
String

Nombre de la propiedad style.

type
Type

Tipo usado para la propiedad .

defaultValue
Object

Valor predeterminado de la propiedad.

inherit
Boolean

Indica si el estilo hereda de los objetos primarios. El valor predeterminado es true.

Devoluciones

Clave única para la búsqueda.

Comentarios

Se llama solo desde clases de estilo heredadas.

Se aplica a