33 instantiations of StateBag
System.Web (25)
UI\Control.cs (1)
2833
_viewState = new
StateBag
(ViewStateIgnoresCase);
UI\DataSourceCache.cs (1)
110
_viewState = new
StateBag
();
UI\UserControl.cs (2)
107
attributeStorage = new
StateBag
(true);
312
attributeStorage = new
StateBag
(true);
UI\WebControls\AutoGeneratedFieldProperties.cs (1)
25
_statebag = new
StateBag
();
UI\WebControls\CheckBox.cs (4)
119
_inputAttributesState = new
StateBag
(true);
144
_labelAttributesState = new
StateBag
(true);
293
_inputAttributesState = new
StateBag
();
300
_labelAttributesState = new
StateBag
();
UI\WebControls\Column.cs (1)
36
statebag = new
StateBag
();
UI\WebControls\DataControlField.cs (1)
42
_statebag = new
StateBag
();
UI\WebControls\HotSpot.cs (1)
206
_viewState = new
StateBag
(false);
UI\WebControls\listitem.cs (1)
104
_attributes = new AttributeCollection(new
StateBag
(true));
UI\WebControls\MailDefinition.cs (1)
190
_viewState = new
StateBag
(false);
UI\WebControls\MenuItem.cs (1)
587
_viewState = new
StateBag
();
UI\WebControls\MenuItemBinding.cs (1)
500
_viewState = new
StateBag
();
UI\WebControls\MethodParameterValue.cs (1)
53
_viewState = new
StateBag
();
UI\WebControls\PagerSettings.cs (1)
35
_viewState = new
StateBag
();
UI\WebControls\Parameter.cs (1)
420
_viewState = new
StateBag
();
UI\WebControls\Style.cs (1)
353
statebag = new
StateBag
(false);
UI\WebControls\TreeNode.cs (1)
678
_viewState = new
StateBag
();
UI\WebControls\TreeNodeBinding.cs (1)
480
_viewState = new
StateBag
();
UI\WebControls\WebControl.cs (2)
125
attrState = new
StateBag
(true);
729
attrState = new
StateBag
(true);
UI\WebParts\WebPartVerb.cs (1)
228
_viewState = new
StateBag
(false);
System.Web.Extensions (5)
UI\UpdatePanel.cs (1)
70
StateBag bag = new
StateBag
(true /* ignoreCase */);
UI\UpdateProgress.cs (1)
65
StateBag bag = new
StateBag
(true /* ignoreCase */);
UI\WebControls\DataPager.cs (1)
62
_attributes = new AttributeCollection(new
StateBag
(true));
UI\WebControls\DataPagerField.cs (1)
22
_stateBag = new
StateBag
();
UI\WebControls\Expressions\DataSourceExpression.cs (1)
45
_viewState = new
StateBag
();
System.Web.Mobile (3)
UI\MobileControls\MobileControl.cs (1)
707
_customAttributes = new
StateBag
(true); // Ignore case
UI\MobileControls\ObjectListField.cs (1)
34
private StateBag _stateBag = new
StateBag
();
UI\MobileControls\Style.cs (1)
131
_state = new
StateBag
();
80 references to StateBag
System.Web (66)
ModelBinding\ViewStateValueProvider.cs (2)
17
StateBag
pageViewState = ModelBindingExecutionContext.GetService<
StateBag
>();
UI\AttributeCollection.cs (2)
33
private
StateBag
_bag;
42
public AttributeCollection(
StateBag
bag) {
UI\Control.cs (3)
71
private
StateBag
_viewState;
2827
protected virtual
StateBag
ViewState {
2843
/// <para>Indicates whether the <see cref='System.Web.UI.
StateBag
'/> object is case-insensitive.</para>
UI\CssStyleCollection.cs (2)
38
private
StateBag
_state;
51
internal CssStyleCollection(
StateBag
state) {
UI\DataSourceCache.cs (2)
19
private
StateBag
_viewState;
107
protected
StateBag
ViewState {
UI\Page.cs (1)
497
_modelBindingExecutionContext.PublishService<
StateBag
>(ViewState);
UI\StateBag.cs (7)
43
/// <para>Initializes a new instance of the <see cref='System.Web.UI.
StateBag
'/> class.</para>
53
/// <para>Initializes a new instance of the <see cref='System.Web.UI.
StateBag
'/> class that allows stored state
68
/// <para>Indicates the number of items in the <see cref='System.Web.UI.
StateBag
'/> object. This property is
82
/// <para>Indicates a collection of keys representing the items in the <see cref='System.Web.UI.
StateBag
'/> object.
96
/// <para>Indicates a collection of view state values in the <see cref='System.Web.UI.
StateBag
'/> object.
200
/// <para>Removes all controls from the <see cref='System.Web.UI.
StateBag
'/> object.</para>
290
/// <para>Removes the specified item from the <see cref='System.Web.UI.
StateBag
'/> object.</para>
UI\StateItem.cs (2)
17
/// <para>Represents an item that is saved in the <see cref='System.Web.UI.
StateBag
'/> class when view state
53
/// <para>Indicates the value of the item that is stored in the <see cref='System.Web.UI.
StateBag
'/>
UI\UserControl.cs (1)
89
private
StateBag
attributeStorage;
UI\WebControls\AutoGeneratedFieldProperties.cs (2)
21
private
StateBag
_statebag;
87
private
StateBag
ViewState {
UI\WebControls\CheckBox.cs (2)
31
private
StateBag
_inputAttributesState;
33
private
StateBag
_labelAttributesState;
UI\WebControls\Column.cs (2)
27
private
StateBag
statebag;
252
protected
StateBag
ViewState {
UI\WebControls\DataControlField.cs (2)
28
private
StateBag
_statebag;
387
protected
StateBag
ViewState {
UI\WebControls\HotSpot.cs (2)
24
private
StateBag
_viewState;
203
protected
StateBag
ViewState {
UI\WebControls\HyperLinkStyle.cs (1)
79
StateBag
viewState = ViewState;
UI\WebControls\MailDefinition.cs (2)
34
private
StateBag
_viewState;
187
private
StateBag
ViewState {
UI\WebControls\MenuItem.cs (2)
30
private
StateBag
_viewState;
584
private
StateBag
ViewState {
UI\WebControls\MenuItemBinding.cs (2)
20
private
StateBag
_viewState;
497
private
StateBag
ViewState {
UI\WebControls\MenuItemStyle.cs (2)
28
public MenuItemStyle(
StateBag
bag) : base(bag) {
164
StateBag
viewState = ViewState;
UI\WebControls\MethodParameterValue.cs (2)
9
private
StateBag
_viewState;
50
private
StateBag
ViewState {
UI\WebControls\PagerSettings.cs (2)
20
private
StateBag
_viewState;
407
private
StateBag
ViewState {
UI\WebControls\PanelStyle.cs (1)
44
public PanelStyle(
StateBag
bag) : base (bag) {
UI\WebControls\Parameter.cs (2)
28
private
StateBag
_viewState;
417
protected
StateBag
ViewState {
UI\WebControls\Style.cs (4)
53
private
StateBag
statebag;
82
public Style(
StateBag
bag) {
350
protected internal
StateBag
ViewState {
524
StateBag
viewState = ViewState;
UI\WebControls\SubMenuStyle.cs (2)
24
public SubMenuStyle(
StateBag
bag) : base(bag) {
120
StateBag
viewState = ViewState;
UI\WebControls\TableItemStyle.cs (1)
56
public TableItemStyle(
StateBag
bag) : base(bag) {
UI\WebControls\TableStyle.cs (1)
43
public TableStyle(
StateBag
bag) : base(bag) {
UI\WebControls\TreeNode.cs (2)
27
private
StateBag
_viewState;
675
private
StateBag
ViewState {
UI\WebControls\TreeNodeBinding.cs (2)
20
private
StateBag
_viewState;
477
private
StateBag
ViewState {
UI\WebControls\TreeNodeStyle.cs (2)
30
public TreeNodeStyle(
StateBag
bag) : base(bag) {
218
StateBag
viewState = ViewState;
UI\WebControls\WebControl.cs (1)
36
private
StateBag
attrState;
UI\WebParts\WebPartMenuStyle.cs (1)
27
public WebPartMenuStyle(
StateBag
bag) : base(bag) {
UI\WebParts\WebPartVerb.cs (2)
22
private
StateBag
_viewState;
225
protected
StateBag
ViewState {
System.Web.Extensions (6)
UI\UpdatePanel.cs (1)
70
StateBag
bag = new StateBag(true /* ignoreCase */);
UI\UpdateProgress.cs (1)
65
StateBag
bag = new StateBag(true /* ignoreCase */);
UI\WebControls\DataPagerField.cs (2)
15
private
StateBag
_stateBag;
25
protected
StateBag
ViewState {
UI\WebControls\Expressions\DataSourceExpression.cs (2)
13
private
StateBag
_viewState;
42
protected
StateBag
ViewState {
System.Web.Mobile (8)
UI\MobileControls\ListDataHelper.cs (2)
22
private
StateBag
_parentViewState;
31
internal /*public*/ ListDataHelper(IListControl parent,
StateBag
parentViewState)
UI\MobileControls\MobileControl.cs (2)
693
private
StateBag
_customAttributes;
701
public
StateBag
CustomAttributes
UI\MobileControls\ObjectListField.cs (2)
34
private
StateBag
_stateBag = new StateBag();
161
private
StateBag
ViewState
UI\MobileControls\Style.cs (2)
57
private
StateBag
_state; // name => object pairs
125
protected internal
StateBag
State