How to add the EditorAttribute (Editor) to an object's property at run-time?
I have My.Settings.ExcludeFiles, which is created by the settings designer as Public Property ExcludedFiles() As Global.System.Collections.Specialized.StringCollection. When editing ExcludedFiles via a property grid, the "String Collection Editor" generates a "...
I'm using My.Settings in my VB.NET application and when we run multiple instances rarely it's giving a ConfigurationErrorsException because the settings file locked by another instance.
Is there anyway to fix this?
This is happening during the OnShutdown process, also I'm not quite sure how can I catch that exception and handle it.
O...
I have defined a StringCollection in the Project Settings.
I want to use the values in a ComboBox.
Is there a way to access it xamly?
I tried:
<CollectionViewSource Source="{x:Static src:MySettings.Default.MyCollection}" />
<CollectionViewSource
Source="{Binding Source={x:Static src:MySettings.Default.MyCollection}}" />
*src is...