Skip to content

Commit

Permalink
combo box comments for maui
Browse files Browse the repository at this point in the history
this control is a picker not a combobox on this platform
  • Loading branch information
williambohrmann3 committed Sep 11, 2024
1 parent 1da4dbe commit 9ef74d2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace ArcGIS.Samples.StyleGeometryTypesWithSymbols
[ArcGIS.Samples.Shared.Attributes.OfflineData()]
public partial class StyleGeometryTypesWithSymbols
{
// Item sources for the combo boxes.
// Item sources for the pickers.
public List<SimpleMarkerSymbolStyle> SimpleMarkerSymbolStyles => Enum.GetValues(typeof(SimpleMarkerSymbolStyle)).Cast<SimpleMarkerSymbolStyle>().ToList();
public List<SimpleLineSymbolStyle> SimpleLineSymbolStyles => Enum.GetValues(typeof(SimpleLineSymbolStyle)).Cast<SimpleLineSymbolStyle>().ToList();
public List<SimpleFillSymbolStyle> SimpleFillSymbolStyles => Enum.GetValues(typeof(SimpleFillSymbolStyle)).Cast<SimpleFillSymbolStyle>().ToList();
Expand Down Expand Up @@ -201,10 +201,10 @@ private void GeometryTypeRadioButton_CheckedChanged(object sender, CheckedChange

private void StylePicker_SelectionChanged(object sender, EventArgs e)
{
// Get the selected combo box item.
// Get the selected picker item.
var picker = sender as Picker;

// Update the symbol style based on the selected combo box item.
// Update the symbol style based on the selected picker item.
switch (_selectedGraphic.Geometry.GeometryType)
{
case GeometryType.Point:
Expand Down

0 comments on commit 9ef74d2

Please sign in to comment.