/
DeclarativeCatalogPart.xml
1675 lines (1462 loc) · 143 KB
/
DeclarativeCatalogPart.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="DeclarativeCatalogPart" FullName="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart">
<TypeSignature Language="C#" Value="public sealed class DeclarativeCatalogPart : System.Web.UI.WebControls.WebParts.CatalogPart" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit DeclarativeCatalogPart extends System.Web.UI.WebControls.WebParts.CatalogPart" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class DeclarativeCatalogPart
Inherits CatalogPart" />
<TypeSignature Language="F#" Value="type DeclarativeCatalogPart = class
 inherit CatalogPart" />
<TypeSignature Language="C++ CLI" Value="public ref class DeclarativeCatalogPart sealed : System::Web::UI::WebControls::WebParts::CatalogPart" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.WebControls.WebParts.CatalogPart</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5">
<AttributeName Language="C#">[System.ComponentModel.Designer("System.Web.UI.Design.WebControls.WebParts.DeclarativeCatalogPartDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Designer("System.Web.UI.Design.WebControls.WebParts.DeclarativeCatalogPartDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.ComponentModel.Designer("System.Web.UI.Design.WebControls.WebParts.DeclarativeCatalogPartDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Designer("System.Web.UI.Design.WebControls.WebParts.DeclarativeCatalogPartDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Enables developers to add a catalog of <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> or other server controls to a Web page in the declarative, page persistence format. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Just as there are tool-oriented zones in the Web Parts control set (for details, see the <xref:System.Web.UI.WebControls.WebParts.ToolZone> class overview), there are tool-oriented <xref:System.Web.UI.WebControls.WebParts.Part> controls, and each of these controls must reside in a certain type of tool zone. Tool-oriented part controls in the Web Parts control set have two distinguishing characteristics:
- They are helper controls that enable end users to personalize controls on a Web Parts page.
- They are visible only in certain display modes.
<xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> is a part control that must reside in a <xref:System.Web.UI.WebControls.WebParts.CatalogZoneBase> type of zone, such as the <xref:System.Web.UI.WebControls.WebParts.CatalogZone> zone provided with the Web Parts control set. The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control becomes visible only when a Web page is in catalog display mode.
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control provides a way for developers to add a set of server controls declaratively to a catalog on a Web page. A catalog, in the Web Parts control set, is simply a list of <xref:System.Web.UI.WebControls.WebParts.WebPart> or other server controls that is visible when a page is in catalog display mode. A user can select controls from the list and add them to the Web page, which effectively gives users the ability to change the set of controls and the functionality on a page.
> [!NOTE]
> Users can add multiple instances of the same control in a catalog to a Web page.
An advantage of using a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control to create a catalog of server controls is that it does not require any coding. Page developers can work with the control entirely in the declarative (or page persistence) format, hence the name of the control.
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control has a useful property that allows developers to set up a catalog of controls that can be used throughout an entire site. Rather than declare individual server controls within a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, a developer can set the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.WebPartsListUserControlPath%2A> property value to the path of a user control that contains the list of server controls that should be in the catalog. At run time, the server controls referenced in the user control are loaded in the catalog. In this way, multiple pages or sites could reference the same user control to create a catalog. When the user control's list of server controls is updated, it would update all catalogs based on the user control.
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> class has a number of public properties that override the inherited properties. Most of these properties are not actually used for rendering the control; they are overridden only so that special code attributes can be set on them to hide them from design tools like Microsoft Visual Studio 2005. You should not use these hidden properties, as they have no effect on rendering. The fact that they are hidden from IntelliSense and the Properties pane in Visual Studio helps developers avoid using them by mistake. All these hidden properties are noted as such in their respective Help topics.
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> class also has several methods. The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method retrieves a <xref:System.Web.UI.WebControls.WebParts.WebPartDescription> object for each <xref:System.Web.UI.WebControls.WebParts.WebPart> control in the catalog, which enables a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control to display information about each server control without having to create an instance of it. Another method is the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart%2A> method. This method gets an instance of a particular <xref:System.Web.UI.WebControls.WebParts.WebPart> control, based on the description passed to the method.
> [!NOTE]
> To improve accessibility, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control is rendered within a `<fieldset>` element. The `<fieldset>` element groups the related set of controls used for editing in the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, and it facilitates tabbed navigation among those controls for both visual user agents (such as ordinary Web browsers) and speech-oriented user agents (such as screen-reading software).
## Examples
The following code example demonstrates how to use the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control declaratively on a Web page. The example has four parts:
- A user control that enables you to change display modes on a Web Parts page.
- A Web page that contains a <xref:System.Web.UI.WebControls.WebParts.CatalogZone> control and a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control.
- A source code file that contains two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls.
- An explanation of how the example works when you load the page in a browser.
The first part of this code example is the user control that enables you to change display modes on the page. For details about display modes and a description of the source code in this control, see [Walkthrough: Changing Display Modes on a Web Parts Page](https://msdn.microsoft.com/library/24e42f74-82dc-4c13-8574-130398985fc0).
:::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Overview/CS/DisplayModeMenuCS.ascx" id="Snippet7":::
:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Overview/VB/DisplayModeMenuVB.ascx" id="Snippet7":::
The second part of the code example is the Web page. At the top of the page are two `Register` directives, one for the user control and one for the compiled component that contains the two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls. Notice that the page has a declarative reference to the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, nested within the proper hierarchy of declarative elements as described in the Remarks section of this topic. The `<asp:declarativecatalogpart>` element contains a `<webpartstemplate>` element, which in turn contains references for a standard ASP.NET <xref:System.Web.UI.WebControls.Calendar> control and the two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls; these are the controls that users can select from the catalog. The page also contains editing capability, with a <xref:System.Web.UI.WebControls.WebParts.PropertyGridEditorPart> control declared on the page. This control enables users to edit certain properties on the custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls after they have been added to the page, and after the user has switched the page to edit mode.
:::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Overview/CS/declarativeCatalogPartCS.aspx" id="Snippet1":::
:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Overview/VB/declarativeCatalogPartVB.aspx" id="Snippet1":::
The third part of the code example is the source code for the two <xref:System.Web.UI.WebControls.WebParts.WebPart> controls. Notice that some properties on these controls are marked with the `WebBrowsable` attribute. This enables the <xref:System.Web.UI.WebControls.WebParts.PropertyGridEditorPart> control to dynamically generate the user interface (UI) for a user to edit those properties when the controls are in edit mode. The properties are also marked with a `WebDisplayName` attribute, to specify the text of the label that appears next to each control in the editing UI.
For the code example to run, you must compile this source code. You can compile it explicitly and put the resulting assembly in your Web site's Bin folder or the global assembly cache. Alternatively, you can put the source code in your site's App_Code folder, where it will be dynamically compiled at run time. For a walkthrough that demonstrates both methods of compiling, see [Walkthrough: Developing and Using a Custom Web Server Control](https://msdn.microsoft.com/library/6d90782a-a1a4-45a6-b2d4-cf6362b83b08).
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Overview/CS/userinfowebpart.cs" id="Snippet6":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Overview/VB/userinfowebpart.vb" id="Snippet6":::
When you load the page in a browser, select **Catalog Mode** in the **Display Mode** drop-down list control to switch to catalog mode. In catalog mode, you can see the controls that are available to be added to the page. Add all three controls, and then use the **Display Mode** drop-down list to return the page to browse mode. The three controls appear on the page. If you use the **Display Mode** drop-down list and switch the page to edit mode, you can click the verbs menu (the downward arrow) in the title bar of the **User Information WebPart** control, and click **Edit** to edit the control. When the editing UI is visible, you can see the <xref:System.Web.UI.WebControls.WebParts.PropertyGridEditorPart> control. Notice that a control is rendered for each of the properties of the `UserInfoWebPart` class that was marked with the `WebBrowsable` attribute. If you make some changes in the editing UI and click the **Apply** button, you can use the **Display Mode** drop-down list to return the page to browse mode and see the full effect of the editing changes.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.WebParts.ImportCatalogPart" />
<altmember cref="T:System.Web.UI.WebControls.WebParts.PageCatalogPart" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DeclarativeCatalogPart ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 DeclarativeCatalogPart();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.%23ctor%2A> constructor is a default; no constructor is declared in the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> class and hence no special tasks are carried out when a new instance of the class is created. The .NET Framework uses the constructor internally to create an instance of the class.
It is possible, but unlikely, that you will need to use the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.%23ctor%2A> constructor programmatically in your own code. The intended use of the control is for page developers to add it to a page declaratively at design time.
]]></format>
</remarks>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="AccessKey">
<MemberSignature Language="C#" Value="public override string AccessKey { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string AccessKey" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.AccessKey" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property AccessKey As String" />
<MemberSignature Language="F#" Value="member this.AccessKey : string with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.AccessKey" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ AccessKey { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the Web Parts control set when rendering a <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A string that represents a keyboard key used for quick keyboard navigation to a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.AccessKey%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.AccessKey%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.AccessKey%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.AccessKey" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="BackColor">
<MemberSignature Language="C#" Value="public override System.Drawing.Color BackColor { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Drawing.Color BackColor" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackColor" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property BackColor As Color" />
<MemberSignature Language="F#" Value="member this.BackColor : System.Drawing.Color with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackColor" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Drawing::Color BackColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Drawing.Color" /> that is used for the background color of the control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackColor%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackColor%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.BackColor%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.BackColor" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="BackImageUrl">
<MemberSignature Language="C#" Value="public override string BackImageUrl { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string BackImageUrl" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackImageUrl" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property BackImageUrl As String" />
<MemberSignature Language="F#" Value="member this.BackImageUrl : string with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackImageUrl" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ BackImageUrl { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the Web Parts control set when rendering a <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A string that contains the URL to an image used as the background for a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackImageUrl%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BackImageUrl%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.Panel.BackImageUrl%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.Panel.BackImageUrl" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="BorderColor">
<MemberSignature Language="C#" Value="public override System.Drawing.Color BorderColor { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Drawing.Color BorderColor" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderColor" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property BorderColor As Color" />
<MemberSignature Language="F#" Value="member this.BorderColor : System.Drawing.Color with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderColor" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Drawing::Color BorderColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Drawing.Color" /> that is used as the color of the border around a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderColor%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderColor%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.BorderColor%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.BorderColor" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="BorderStyle">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.BorderStyle BorderStyle { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.BorderStyle BorderStyle" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderStyle" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property BorderStyle As BorderStyle" />
<MemberSignature Language="F#" Value="member this.BorderStyle : System.Web.UI.WebControls.BorderStyle with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderStyle" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::BorderStyle BorderStyle { System::Web::UI::WebControls::BorderStyle get(); void set(System::Web::UI::WebControls::BorderStyle value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.BorderStyle</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Web.UI.WebControls.BorderStyle" /> that determines the type of border and title display for a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderStyle%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderStyle%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.BorderStyle%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.BorderStyle" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="BorderWidth">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.Unit BorderWidth { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.Unit BorderWidth" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderWidth" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property BorderWidth As Unit" />
<MemberSignature Language="F#" Value="member this.BorderWidth : System.Web.UI.WebControls.Unit with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderWidth" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::Unit BorderWidth { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Web.UI.WebControls.Unit" /> that determines the width of the border around a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderWidth%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.BorderWidth%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.BorderWidth%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.BorderWidth" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="CssClass">
<MemberSignature Language="C#" Value="public override string CssClass { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string CssClass" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.CssClass" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property CssClass As String" />
<MemberSignature Language="F#" Value="member this.CssClass : string with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.CssClass" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ CssClass { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.CssClassProperty]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.CssClassProperty>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A string that contains the name of a cascading style sheet (CSS) class used to assign style characteristics to a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.CssClass%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.CssClass%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.CssClass%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.CssClass" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="DefaultButton">
<MemberSignature Language="C#" Value="public override string DefaultButton { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string DefaultButton" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.DefaultButton" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property DefaultButton As String" />
<MemberSignature Language="F#" Value="member this.DefaultButton : string with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.DefaultButton" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ DefaultButton { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A string that contains the ID of a <see cref="T:System.Web.UI.WebControls.Button" /> control that serves as the default button on a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.DefaultButton%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.DefaultButton%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.Panel.DefaultButton%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.Panel.DefaultButton" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="Direction">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.ContentDirection Direction { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.ContentDirection Direction" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Direction" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property Direction As ContentDirection" />
<MemberSignature Language="F#" Value="member this.Direction : System.Web.UI.WebControls.ContentDirection with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Direction" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::ContentDirection Direction { System::Web::UI::WebControls::ContentDirection get(); void set(System::Web::UI::WebControls::ContentDirection value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.ContentDirection</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Web.UI.WebControls.ContentDirection" /> that indicates the direction in which the content flows in a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Direction%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Direction%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.Panel.Direction%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.Panel.Direction" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="Enabled">
<MemberSignature Language="C#" Value="public override bool Enabled { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Enabled" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Enabled" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property Enabled As Boolean" />
<MemberSignature Language="F#" Value="member this.Enabled : bool with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Enabled" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property bool Enabled { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A Boolean value that indicates whether a control is currently enabled or disabled.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Enabled%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Enabled%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.Enabled%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.Enabled" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="EnableTheming">
<MemberSignature Language="C#" Value="public override bool EnableTheming { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableTheming" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.EnableTheming" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property EnableTheming As Boolean" />
<MemberSignature Language="F#" Value="member this.EnableTheming : bool with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.EnableTheming" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property bool EnableTheming { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A Boolean value that indicates whether themes can be used on a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.EnableTheming%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.EnableTheming%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.EnableTheming%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<exception cref="T:System.NotSupportedException">An attempt was made to set the property.</exception>
<altmember cref="P:System.Web.UI.WebControls.WebControl.EnableTheming" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="Font">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.FontInfo Font { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.UI.WebControls.FontInfo Font" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Font" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Font As FontInfo" />
<MemberSignature Language="F#" Value="member this.Font : System.Web.UI.WebControls.FontInfo" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Font" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::FontInfo ^ Font { System::Web::UI::WebControls::FontInfo ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.FontInfo</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Web.UI.WebControls.FontInfo" /> that indicates the font used for a control's content.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Font%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Font%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.Font%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.Font" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="ForeColor">
<MemberSignature Language="C#" Value="public override System.Drawing.Color ForeColor { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Drawing.Color ForeColor" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.ForeColor" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property ForeColor As Color" />
<MemberSignature Language="F#" Value="member this.ForeColor : System.Drawing.Color with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.ForeColor" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Drawing::Color ForeColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A <see cref="T:System.Drawing.Color" /> that determines the foreground color for a control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.ForeColor%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.ForeColor%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.WebControl.ForeColor%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.WebControl.ForeColor" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="GetAvailableWebPartDescriptions">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection GetAvailableWebPartDescriptions ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection GetAvailableWebPartDescriptions() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetAvailableWebPartDescriptions () As WebPartDescriptionCollection" />
<MemberSignature Language="F#" Value="override this.GetAvailableWebPartDescriptions : unit -> System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection" Usage="declarativeCatalogPart.GetAvailableWebPartDescriptions " />
<MemberSignature Language="C++ CLI" Value="public:
 override System::Web::UI::WebControls::WebParts::WebPartDescriptionCollection ^ GetAvailableWebPartDescriptions();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a collection of descriptions of the available <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> controls in a catalog.</summary>
<returns>A <see cref="T:System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection" /> that contains a <see cref="T:System.Web.UI.WebControls.WebParts.WebPartDescription" /> for each control in a catalog.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method provides an implementation for the abstract base method declared in the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method returns description information for each control in a catalog. A <xref:System.Web.UI.WebControls.WebParts.WebPartDescription> object is an object that contains essential information about a <xref:System.Web.UI.WebControls.WebParts.WebPart> control, including its ID, an object reference to the control, and the values of several important properties that are inherited from the <xref:System.Web.UI.WebControls.WebParts.Part> class, such as <xref:System.Web.UI.WebControls.WebParts.Part.Title%2A> and <xref:System.Web.UI.WebControls.WebParts.Part.Description%2A>.
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method improves performance. When a catalog is created, it needs some information about each control it contains, including a title, a description, an icon (if one exists), and an ID. Rather than having to create an instance of each control to get this information, a <xref:System.Web.UI.WebControls.WebParts.CatalogZoneBase> zone that creates a catalog calls the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method for each control that will be in the catalog, and the call returns only the description information for the control.
## Examples
The following code example shows how to use the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method. This example has four parts:
- A user control that enables you to change display modes on a Web Parts page.
- A source code file that contains two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls.
- A Web page that contains a <xref:System.Web.UI.WebControls.WebParts.CatalogZone> control and a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control that references several server controls. The page also contains the event-handling code that calls the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method.
- An explanation of how the example works when you load the page in a browser.
The first part of this code example is the user control that enables users to change display modes on a Web page. For details about display modes and a description of the source code in this control, see [Walkthrough: Changing Display Modes on a Web Parts Page](https://msdn.microsoft.com/library/24e42f74-82dc-4c13-8574-130398985fc0).
:::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/CS/DisplayModeMenuCS.ascx" id="Snippet7":::
:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/VB/DisplayModeMenuVB.ascx" id="Snippet7":::
The second part of the code example is the source code for the two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls. For the code example to run, you must compile this source code. You can compile it explicitly and put the resulting assembly in your Web site's Bin folder or the global assembly cache. Alternatively, you can put the source code in your site's App_Code folder, where it will be dynamically compiled at run time. For a walkthrough that demonstrates both methods of compiling, see [Walkthrough: Developing and Using a Custom Web Server Control](https://msdn.microsoft.com/library/6d90782a-a1a4-45a6-b2d4-cf6362b83b08).
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/CS/userinfowebpart.cs" id="Snippet6":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/VB/userinfowebpart.vb" id="Snippet6":::
The third part of the example is the Web page that contains the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control. Notice that the `Button1_Click` method calls the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method, obtains the descriptions of the <xref:System.Web.UI.WebControls.WebParts.WebPart> controls in the catalog, and writes out the details to a label.
:::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/CS/declarativeCatalogPart_GetCS.aspx" id="Snippet1":::
:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/VB/declarativeCatalogPart_GetVB.aspx" id="Snippet1":::
When you load the page in a browser, select **Catalog Mode** in the **Display Mode** drop-down list control to switch to catalog mode. In catalog mode, you can see the controls that are available to be added to the page. You can click the **Display WebPart descriptions** button to write the details about the controls in the catalog to the label.
]]></format>
</remarks>
<altmember cref="M:System.Web.UI.WebControls.WebParts.CatalogPart.GetAvailableWebPartDescriptions" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="GetWebPart">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.WebParts.WebPart GetWebPart (System.Web.UI.WebControls.WebParts.WebPartDescription description);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Web.UI.WebControls.WebParts.WebPart GetWebPart(class System.Web.UI.WebControls.WebParts.WebPartDescription description) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart(System.Web.UI.WebControls.WebParts.WebPartDescription)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetWebPart (description As WebPartDescription) As WebPart" />
<MemberSignature Language="F#" Value="override this.GetWebPart : System.Web.UI.WebControls.WebParts.WebPartDescription -> System.Web.UI.WebControls.WebParts.WebPart" Usage="declarativeCatalogPart.GetWebPart description" />
<MemberSignature Language="C++ CLI" Value="public:
 override System::Web::UI::WebControls::WebParts::WebPart ^ GetWebPart(System::Web::UI::WebControls::WebParts::WebPartDescription ^ description);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPart</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="description" Type="System.Web.UI.WebControls.WebParts.WebPartDescription" />
</Parameters>
<Docs>
<param name="description">A <see cref="T:System.Web.UI.WebControls.WebParts.WebPartDescription" /> that contains details about the control.</param>
<summary>Returns a reference to a <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control based on the value of the description passed into the method.</summary>
<returns>A <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control whose description matches the values in <paramref name="description" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart%2A> method returns a reference to a <xref:System.Web.UI.WebControls.WebParts.WebPart> control whose description details match the values of the <xref:System.Web.UI.WebControls.WebParts.WebPartDescription> object passed into the method. Typically, this method is used together with the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetAvailableWebPartDescriptions%2A> method, which is used to retrieve the descriptions of all the controls in the catalog. Individual <xref:System.Web.UI.WebControls.WebParts.WebPart> controls can then be retrieved or manipulated as needed by passing individual <xref:System.Web.UI.WebControls.WebParts.WebPartDescription> objects to the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart%2A> method.
## Examples
The following code example shows how to use the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart%2A> method. This example has four parts:
- A user control that enables you to change display modes on a Web Parts page.
- A source code file that contains two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls.
- A Web page that contains a <xref:System.Web.UI.WebControls.WebParts.CatalogZone> control and a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control that references several server controls. The page also contains the event-handling code that calls the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart%2A> method.
- An explanation of how the example works when you load the page in a browser.
The first part of this code example is the user control that enables users to change display modes on a Web page. For details about display modes and a description of the source code in this control, see [Walkthrough: Changing Display Modes on a Web Parts Page](https://msdn.microsoft.com/library/24e42f74-82dc-4c13-8574-130398985fc0).
:::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/CS/DisplayModeMenuCS.ascx" id="Snippet7":::
:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/VB/DisplayModeMenuVB.ascx" id="Snippet7":::
The second part of the code example is the source code for the two custom <xref:System.Web.UI.WebControls.WebParts.WebPart> controls. For the code example to run, you must compile this source code. You can compile it explicitly and put the resulting assembly in your Web site's Bin folder or the global assembly cache. Alternatively, you can put the source code in your site's App_Code folder, where it will be dynamically compiled at run time. For a walkthrough that demonstrates both methods of compiling, see [Walkthrough: Developing and Using a Custom Web Server Control](https://msdn.microsoft.com/library/6d90782a-a1a4-45a6-b2d4-cf6362b83b08).
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/CS/userinfowebpart.cs" id="Snippet6":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/VB/userinfowebpart.vb" id="Snippet6":::
The third part of the example is the Web page that contains the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control. Notice that the `Button2_Click` method obtains the descriptions of the <xref:System.Web.UI.WebControls.WebParts.WebPart> controls in the catalog, calls the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GetWebPart%2A> method to retrieve a control that matches the description of the third control in the collection, and then adds that control to the page.
:::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/CS/declarativeCatalogPart_GetCS.aspx" id="Snippet1":::
:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebParts_DeclarativeCatalogPart_Get/VB/declarativeCatalogPart_GetVB.aspx" id="Snippet1":::
When you load the page in a browser, select **Catalog Mode** in the **Display Mode** drop-down list control to switch to catalog mode. In catalog mode, you can see the controls that are available to be added to the page. If you click the **Add TextDisplayWebPart** button, the control is added to the page without your having to add it through the normal catalog user interface (UI). Use the **Display Mode** drop-down list to return the page to normal browse mode; the control you added is visible on the page.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="Description" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="Description" /> is not an available <see cref="T:System.Web.UI.WebControls.WebParts.WebPartDescription" /> instance.</exception>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="GroupingText">
<MemberSignature Language="C#" Value="public override string GroupingText { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string GroupingText" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GroupingText" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property GroupingText As String" />
<MemberSignature Language="F#" Value="member this.GroupingText : string with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GroupingText" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ GroupingText { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Browsable(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Web.UI.Themeable(false)]</AttributeName>
<AttributeName Language="F#">[<System.Web.UI.Themeable(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>This inherited property is not used by the <see cref="T:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart" /> control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.</summary>
<value>A string that contains the text at the head of a section of grouped child controls within the control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GroupingText%2A> property, as a member of the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart> control in Visual Studio, the <xref:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.GroupingText%2A> property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the <xref:System.Web.UI.WebControls.WebParts.CatalogPart> class. The custom class can either use the inherited <xref:System.Web.UI.WebControls.Panel.GroupingText%2A> property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see <xref:System.Web.UI.ThemeableAttribute> and [ASP.NET Themes and Skins](https://docs.microsoft.com/previous-versions/aspnet/ykzx33wh(v=vs.100)).
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.Panel.GroupingText" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/e0s9t4ck(v=vs.100)">ASP.NET Web Parts Controls</related>
</Docs>
</Member>
<Member MemberName="Height">
<MemberSignature Language="C#" Value="public override System.Web.UI.WebControls.Unit Height { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.Unit Height" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Height" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property Height As Unit" />
<MemberSignature Language="F#" Value="member this.Height : System.Web.UI.WebControls.Unit with get, set" Usage="System.Web.UI.WebControls.WebParts.DeclarativeCatalogPart.Height" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::Unit Height { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Browsable(false)]</AttributeName>