Suggérer une traduction
 
Suggestions d'autres utilisateurs :

progress indicator
Aucune autre suggestion.
Cliquez pour évaluer et commenter
MSDN
MSDN Library
Développement .NET
.NET Framework 4
Espaces de noms System.Web
System.Web.UI.WebControls
ListItemControlBuilder, classe
Réduire tout/Développer tout Réduire tout
Affichage du contenu :  côte à côteAffichage du contenu : côte à côte
.NET Framework Class Library
ListItemControlBuilder Class

Interacts with the parser to build a ListItem control.

System..::.Object
  System.Web.UI..::.ControlBuilder
    System.Web.UI.WebControls..::.ListItemControlBuilder

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)
Visual Basic
Public Class ListItemControlBuilder _
    Inherits ControlBuilder
C#
public class ListItemControlBuilder : ControlBuilder
Visual C++
public ref class ListItemControlBuilder : public ControlBuilder
F#
type ListItemControlBuilder =  
    class
        inherit ControlBuilder
    end

The ListItemControlBuilder type exposes the following members.

  NameDescription
Public methodListItemControlBuilderInitializes a new instance of the ListItemControlBuilder class.
Top
  NameDescription
Public propertyBindingContainerTypeGets the type of the binding container for the control that this builder creates. (Inherited from ControlBuilder.)
Public propertyControlTypeGets the Type for the control to be created. (Inherited from ControlBuilder.)
Public propertyCurrentFilterResolutionServiceGets an IFilterResolutionService object that is used to manage device-filter related services when parsing and persisting controls in the designer. (Inherited from ControlBuilder.)
Public propertyDeclareTypeGets the type that will be used by code generation to declare the control. (Inherited from ControlBuilder.)
Protected propertyFChildrenAsPropertiesDetermines whether the control has a ParseChildrenAttribute with ChildrenAsProperties set to true. (Inherited from ControlBuilder.)
Protected propertyFIsNonParserAccessorDetermines whether the control implements the IParserAccessor interface. (Inherited from ControlBuilder.)
Public propertyHasAspCodeGets a value indicating whether the control contains any code blocks. (Inherited from ControlBuilder.)
Public propertyIDGets or sets the identifier property for the control to be built. (Inherited from ControlBuilder.)
Protected propertyInDesignerReturns whether the ControlBuilder is running in the designer. (Inherited from ControlBuilder.)
Protected propertyInPageThemeGets a Boolean value indicating whether this ControlBuilder object is used to generate page themes. (Inherited from ControlBuilder.)
Public propertyLocalizeGets a Boolean value indicating whether the control that is created by this ControlBuilder object is localized. (Inherited from ControlBuilder.)
Public propertyNamingContainerTypeInfrastructure. Gets the type of the naming container for the control that this builder creates. (Inherited from ControlBuilder.)
Public propertyPageVirtualPathGets the virtual path of a page to be built by this ControlBuilder instance. (Inherited from ControlBuilder.)
Protected propertyParserInfrastructure. Gets the TemplateParser responsible for parsing the control. (Inherited from ControlBuilder.)
Public propertyServiceProviderGets the service object for this ControlBuilder object. (Inherited from ControlBuilder.)
Public propertyTagNameGets the tag name for the control to be built. (Inherited from ControlBuilder.)
Public propertyThemeResolutionServiceGets an IThemeResolutionService object that is used in design time to manage control themes and skins. (Inherited from ControlBuilder.)
Top
  NameDescription
Public methodAllowWhitespaceLiteralsDetermines whether white spaces in the text associated with the ListItem are represented by System.Web.UI..::.LiteralControl objects. (Overrides ControlBuilder..::.AllowWhitespaceLiterals()()().)
Public methodAppendLiteralStringAdds the specified literal content to a control. This method is called by the ASP.NET page framework. (Inherited from ControlBuilder.)
Public methodAppendSubBuilderAdds builders to the ControlBuilder object for any child controls that belong to the container control. (Inherited from ControlBuilder.)
Public methodBuildObjectBuilds a design-time instance of the control that is referred to by this ControlBuilder object. (Inherited from ControlBuilder.)
Public methodCloseControlCalled by the parser to inform the builder that the parsing of the control's opening and closing tags is complete. (Inherited from ControlBuilder.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetChildControlTypeObtains the Type of the control type corresponding to a child tag. This method is called by the ASP.NET page framework. (Inherited from ControlBuilder.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetObjectPersistDataCreates the ObjectPersistData object for this ControlBuilder object. (Inherited from ControlBuilder.)
Public methodGetResourceKeyInfrastructure. Retrieves the resource key for this ControlBuilder object. (Inherited from ControlBuilder.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHasBodyDetermines if a control has both an opening and closing tag. This method is called by the ASP.NET page framework. (Inherited from ControlBuilder.)
Public methodHtmlDecodeLiteralsDetermines whether HTML entities in the text associated with the ListItem are converted to their equivalent characters when the text is parsed. (Overrides ControlBuilder..::.HtmlDecodeLiterals()()().)
Public methodInitInitializes the ControlBuilder for use after it is instantiated. This method is called by the ASP.NET page framework. (Inherited from ControlBuilder.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNeedsTagInnerTextDetermines if the control builder needs to get its inner text. If so, the SetTagInnerText method must be called. This method is called by the ASP.NET page framework. (Inherited from ControlBuilder.)
Public methodOnAppendToParentBuilderNotifies the ControlBuilder that it is being added to a parent control builder. (Inherited from ControlBuilder.)
Public methodProcessGeneratedCodeEnables custom control builders to access the generated Code Document Object Model (CodeDom) and insert and modify code during the process of parsing and building controls. (Inherited from ControlBuilder.)
Public methodSetResourceKeyInfrastructure. Sets the resource key for this ControlBuilder object. (Inherited from ControlBuilder.)
Public methodSetServiceProviderInfrastructure. Sets the service object for this ControlBuilder object. (Inherited from ControlBuilder.)
Public methodSetTagInnerTextProvides the ControlBuilder with the inner text of the control tag. (Inherited from ControlBuilder.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class is used primarily for control developers. To create a custom control builder for a ListItem derived control, you need to inherit from this class.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Bibliothèque de classes .NET Framework
ListItemControlBuilder, classe

Interagit avec l'analyseur pour générer un contrôle ListItem.

System..::.Object
  System.Web.UI..::.ControlBuilder
    System.Web.UI.WebControls..::.ListItemControlBuilder

Espace de noms :  System.Web.UI.WebControls
Assembly :  System.Web (dans System.Web.dll)
Visual Basic
Public Class ListItemControlBuilder _
    Inherits ControlBuilder
C#
public class ListItemControlBuilder : ControlBuilder
VisualC++
public ref class ListItemControlBuilder : public ControlBuilder
F#
type ListItemControlBuilder =  
    class
        inherit ControlBuilder
    end

Le type ListItemControlBuilder expose les membres suivants.

  NomDescription
Méthode publiqueListItemControlBuilderInitialise une nouvelle instance de la classe ListItemControlBuilder.
Début
  NomDescription
Propriété publiqueBindingContainerTypeReçoit le type du conteneur de liaison pour le contrôle que ce générateur crée. (Hérité de ControlBuilder.)
Propriété publiqueControlTypeObtient Type pour le contrôle à créer. (Hérité de ControlBuilder.)
Propriété publiqueCurrentFilterResolutionServiceObtient un objet IFilterResolutionService utilisé pour gérer des services liés au filtre pour appareil mobile lorsque des contrôles sont analysés et rendus persistants dans le concepteur. (Hérité de ControlBuilder.)
Propriété publiqueDeclareTypeObtient le type qui sera utilisé par la génération de code pour déclarer le contrôle. (Hérité de ControlBuilder.)
Propriété protégéeFChildrenAsPropertiesDétermine si le contrôle a un ParseChildrenAttribute dont ChildrenAsProperties a la valeur true. (Hérité de ControlBuilder.)
Propriété protégéeFIsNonParserAccessorDétermine si le contrôle implémente l'interface IParserAccessor. (Hérité de ControlBuilder.)
Propriété publiqueHasAspCodeObtient une valeur indiquant si le contrôle contient des blocs de code. (Hérité de ControlBuilder.)
Propriété publiqueIDObtient ou définit la propriété identificateur du contrôle à générer. (Hérité de ControlBuilder.)
Propriété protégéeInDesignerRetourne si ControlBuilder s'exécute dans le concepteur. (Hérité de ControlBuilder.)
Propriété protégéeInPageThemeObtient une valeur Boolean qui indique si cet objet ControlBuilder est utilisé pour générer des thèmes de page. (Hérité de ControlBuilder.)
Propriété publiqueLocalizeObtient une valeur Boolean qui indique si le contrôle créé par cet objet ControlBuilder est localisé. (Hérité de ControlBuilder.)
Propriété publiqueNamingContainerTypeInfrastructure. Reçoit le type du conteneur d'attribution de noms pour le contrôle que ce générateur crée. (Hérité de ControlBuilder.)
Propriété publiquePageVirtualPathObtient le chemin d'accès virtuel d'une page qui doit être générée par cette instance de ControlBuilder. (Hérité de ControlBuilder.)
Propriété protégéeParserInfrastructure. Obtient le TemplateParser responsable de l'analyse du contrôle. (Hérité de ControlBuilder.)
Propriété publiqueServiceProviderObtient l'objet de service pour cet objet ControlBuilder. (Hérité de ControlBuilder.)
Propriété publiqueTagNameObtient le nom de la balise pour le contrôle à générer. (Hérité de ControlBuilder.)
Propriété publiqueThemeResolutionServiceObtient un objet IThemeResolutionService utilisé au moment du design pour gérer des thèmes et des apparences de contrôle. (Hérité de ControlBuilder.)
Début
  NomDescription
Méthode publiqueAllowWhitespaceLiteralsDétermine si les espaces blancs du texte associé à ListItem sont représentés par des objets System.Web.UI..::.LiteralControl. (Substitue ControlBuilder..::.AllowWhitespaceLiterals()()().)
Méthode publiqueAppendLiteralStringAjoute le contenu littéral spécifié à un contrôle. Cette méthode est appelée par l'infrastructure de page ASP.NET. (Hérité de ControlBuilder.)
Méthode publiqueAppendSubBuilderAjoute des générateurs à l'objet ControlBuilder pour tous les contrôles enfants appartenant au contrôle conteneur. (Hérité de ControlBuilder.)
Méthode publiqueBuildObjectGénère au moment du design une instance du contrôle référencé par cet objet ControlBuilder. (Hérité de ControlBuilder.)
Méthode publiqueCloseControlAppelé par l'analyseur pour informer le générateur que l'analyse des balises d'ouverture et de fermeture du contrôle est terminée. (Hérité de ControlBuilder.)
Méthode publiqueEquals(Object)Détermine si l'Object spécifié est égal à l'Object en cours. (Hérité de Object.)
Méthode protégéeFinalizeAutorise un objet à tenter de libérer des ressources et d'exécuter d'autres opérations de netto***ge avant qu'il ne soit récupéré par l'opération garbage collection. (Hérité de Object.)
Méthode publiqueGetChildControlTypeObtient le Type du type de contrôle qui correspond à une balise enfant. Cette méthode est appelée par l'infrastructure de page ASP.NET. (Hérité de ControlBuilder.)
Méthode publiqueGetHashCodeSert de fonction de hachage pour un type particulier. (Hérité de Object.)
Méthode publiqueGetObjectPersistDataCrée l'objet ObjectPersistData pour cet objet ControlBuilder. (Hérité de ControlBuilder.)
Méthode publiqueGetResourceKeyInfrastructure. Récupère la clé de ressource pour cet objet ControlBuilder. (Hérité de ControlBuilder.)
Méthode publiqueGetTypeObtient le Type de l'instance actuelle. (Hérité de Object.)
Méthode publiqueHasBodyDétermine si un contrôle a les deux balises, d'ouverture et de fermeture. Cette méthode est appelée par l'infrastructure de page ASP.NET. (Hérité de ControlBuilder.)
Méthode publiqueHtmlDecodeLiteralsDétermine si les entités HTML du texte associé à ListItem sont converties dans leurs caractères équivalents lorsque le texte est analysé. (Substitue ControlBuilder..::.HtmlDecodeLiterals()()().)
Méthode publiqueInitInitialise le ControlBuilder pour l'utiliser après son instanciation. Cette méthode est appelée par l'infrastructure de page ASP.NET. (Hérité de ControlBuilder.)
Méthode protégéeMemberwiseCloneCrée une copie superficielle de l'objet Object actif. (Hérité de Object.)
Méthode publiqueNeedsTagInnerTextDétermine si le générateur de contrôles a besoin d'obtenir son texte interne. Si c'est le cas, il faut appeler la méthode SetTagInnerText. Cette méthode est appelée par l'infrastructure de page ASP.NET. (Hérité de ControlBuilder.)
Méthode publiqueOnAppendToParentBuilderAvertit ControlBuilder qu'il s'ajoute à un générateur de contrôles parent. (Hérité de ControlBuilder.)
Méthode publiqueProcessGeneratedCodePermet aux générateurs de contrôles personnalisés d'accéder au modèle CodeDom (Code Document Object Model) généré, ainsi que d'insérer et de modifier du code au cours du processus d'analyse et de génération des contrôles. (Hérité de ControlBuilder.)
Méthode publiqueSetResourceKeyInfrastructure. Définit la clé de ressource pour cet objet ControlBuilder. (Hérité de ControlBuilder.)
Méthode publiqueSetServiceProviderInfrastructure. Définit l'objet de service pour cet objet ControlBuilder. (Hérité de ControlBuilder.)
Méthode publiqueSetTagInnerTextFournit à ControlBuilder le texte interne de la balise du contrôle. (Hérité de ControlBuilder.)
Méthode publiqueToStringRetourne une chaîne qui représente l'objet actuel. (Hérité de Object.)
Début

Cette classe est principalement utilisée par les développeurs de contrôles. Pour créer un générateur de contrôle personnalisé pour un contrôle dérivé ListItem, vous devez hériter de cette classe.

.NET Framework

Pris en charge dans : 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows XP SP2 Édition x64, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2

Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Contenu de la communauté   Qu'est-ce que le Contenu de la communauté ?
Ajouter du contenu RSS  Annotations
Processing
© 2012 Microsoft. Tous droits réservés. Conditions d'utilisation | Marques | Confidentialité
Page view tracker