' create a new PersistenceSettings object
Dim settings As New PersistenceSettings()
' set save persistence option - OnlySpecified
settings.SavePersistenceOptions = Infragistics.Persistence.Primitives.PersistenceOption.OnlySpecified
' we will identify the specific property by its name
Dim pnpi As New PropertyNamePersistenceInfo()
pnpi.PropertyName = "Background"
' add the property in the PropertySettings collection
settings.PropertySettings.Add(pnpi)
Dim memoryStream As MemoryStream = PersistenceManager.Save(txtAccount, settings)