Chart.ViewStateContent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines the view state to be persisted at the client.
public:
property System::Web::UI::DataVisualization::Charting::SerializationContents ViewStateContent { System::Web::UI::DataVisualization::Charting::SerializationContents get(); void set(System::Web::UI::DataVisualization::Charting::SerializationContents value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.DataVisualization.Charting.SerializationContents ViewStateContent { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ViewStateContent : System.Web.UI.DataVisualization.Charting.SerializationContents with get, set
Public Property ViewStateContent As SerializationContents
Property Value
A SerializationContents enumeration value that represents the view state. The default value is Default, which signifies that the view state will consist of all chart properties.
- Attributes
Remarks
Use this property to set the view state of the Chart control.
When you set this property, the view state is automatically saved by the Chart control, and is also loaded automatically when a postback occurs.
For greater flexibility, use the ViewStateData property for user-defined view state.
To enable state management, set the EnableViewState property to true
.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre