public void PreSelect() { SelectedLayerType = LayerTypes.FirstOrDefault(t => t.Name == ProposedLayer.LayerType.Name); ToggleIsEvent(); }