Read Only Mode support

28 Jan 20221 minute to read

Edit WPF can also be used as a static control in order to view only the contents of the file. ReadOnly mode is enabled/disabled by using the IsReadOnly property of the EditControl class. The following code is used to set the ReadOnly mode for EditControl.

<sfedit:EditControl Name="editControl" IsReadOnly="True">

editControl.IsReadOnly = true;