3 implementations of IStyleSelectable
Microsoft.Maui.Controls (3)
Element\Element_StyleSheets.cs (1)
9 public partial class Element : IStyleSelectable
Shell\MenuShellItem.cs (1)
10 internal class MenuShellItem : ShellItem, IMenuItemController, IStyleSelectable
StyleableElement\StyleableElement.cs (1)
8 public abstract class StyleableElement : Element, IStyleSelectable
34 references to IStyleSelectable
Microsoft.Maui.Controls (34)
Element\Element_StyleSheets.cs (7)
12 IEnumerable<IStyleSelectable> IStyleSelectable.Children => LogicalChildrenInternal; 15 IList<string> IStyleSelectable.Classes => null; 18 string IStyleSelectable.Id => StyleId; 23 string[] IStyleSelectable.NameAndBases 43 IStyleSelectable IStyleSelectable.Parent => Parent;
Shell\BaseShellItem.cs (3)
313 static void UpdateFlyoutItemStyles(Grid flyoutItemCell, IStyleSelectable source) 537 var styleClassSource = Shell.GetBindableObjectWithFlyoutItemTemplate(bo) as IStyleSelectable;
Shell\MenuShellItem.cs (2)
26 IList<string> IStyleSelectable.Classes => ((IStyleSelectable)MenuItem).Classes;
StyleableElement\StyleableElement.cs (1)
55 IList<string> IStyleSelectable.Classes => StyleClass;
StyleSheets\IStyleSelectable.cs (2)
11 IStyleSelectable Parent { get; } 13 IEnumerable<IStyleSelectable> Children { get; }
StyleSheets\Selector.cs (19)
133 public abstract bool Matches(IStyleSelectable styleable); 150 readonly Func<IStyleSelectable, bool> func; 151 public Generic(Func<IStyleSelectable, bool> func) 156 public override bool Matches(IStyleSelectable styleable) => func(styleable); 167 public override bool Matches(IStyleSelectable styleable) 179 public override bool Matches(IStyleSelectable styleable) => styleable.Id == IdName; 184 public override bool Matches(IStyleSelectable styleable) => Right.Matches(styleable) || Left.Matches(styleable); 189 public override bool Matches(IStyleSelectable styleable) => Right.Matches(styleable) && Left.Matches(styleable); 200 public override bool Matches(IStyleSelectable styleable) => 212 public override bool Matches(IStyleSelectable styleable) 223 public override bool Matches(IStyleSelectable styleable) => 229 public override bool Matches(IStyleSelectable styleable) 233 var parent = styleable.Parent; 246 public override bool Matches(IStyleSelectable styleable) 253 IStyleSelectable prev = null; 254 foreach (var elem in styleable.Parent.Children) 271 public override bool Matches(IStyleSelectable styleable) 280 foreach (var elem in styleable.Parent.Children) 294 foreach (var elem in styleable.Parent.Children)