Xceed DataGrid for WPF v7.2 Documentation
LoadUserSettings Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : LoadUserSettings Method
A reference to a SettingsRepository that contains the settings that are to be re-applied to the grid.
A UserSettings value representing the settings that are to be re-applied to the grid.
Loads the settings persisted in a settings repository and re-applies them to the grid.
Syntax
'Declaration
 
Public Sub LoadUserSettings( _

   ByVal settingsRepository As SettingsRepository, _

   ByVal settings As UserSettings _

) 
'Usage
 
Dim instance As DataGridControl

Dim settingsRepository As SettingsRepository

Dim settings As UserSettings

 

instance.LoadUserSettings(settingsRepository, settings)
public void LoadUserSettings( 

   SettingsRepository settingsRepository,

   UserSettings settings

)

Parameters

settingsRepository
A reference to a SettingsRepository that contains the settings that are to be re-applied to the grid.
settings
A UserSettings value representing the settings that are to be re-applied to the grid.
Requirements

See Also

Reference

DataGridControl Class
DataGridControl Members
SaveUserSettings Method

DataGrid Fundamentals

Persisting Settings