2 instantiations of ButtonContentLayout
Microsoft.Maui.Controls (2)
Button\Button.cs (2)
36 nameof(ContentLayout), typeof(ButtonContentLayout), typeof(Button), new ButtonContentLayout(ButtonContentLayout.ImagePosition.Left, DefaultSpacing), 606 return new ButtonContentLayout(position, spacing);
10 references to ButtonContentLayout
Microsoft.Maui.Controls (10)
Button\Button.cs (10)
36 nameof(ContentLayout), typeof(ButtonContentLayout), typeof(Button), new ButtonContentLayout(ButtonContentLayout.ImagePosition.Left, DefaultSpacing), 181 public ButtonContentLayout ContentLayout 183 get { return (ButtonContentLayout)GetValue(ContentLayoutProperty); } 570 /// A converter to convert a string to a <see cref="ButtonContentLayout"/> object. 585 throw new InvalidOperationException($"Cannot convert null into {typeof(ButtonContentLayout)}"); 590 throw new InvalidOperationException($"Cannot convert \"{strValue}\" into {typeof(ButtonContentLayout)}"); 593 var position = ButtonContentLayout.ImagePosition.Left; 604 position = (ButtonContentLayout.ImagePosition)Enum.Parse(typeof(ButtonContentLayout.ImagePosition), parts[positionIndex], true);