-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
IElementController.cs
36 lines (29 loc) · 1.31 KB
/
IElementController.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Microsoft.Maui.Controls
{
/// <summary>For internal use by .NET MAUI.</summary>
public interface IElementController
{
/// <summary>For internal use by .NET MAUI.</summary>
IEffectControlProvider EffectControlProvider { get; set; }
/// <summary>For internal use by .NET MAUI.</summary>
/// <param name="name">The name of the effect.</param>
/// <remarks><see langword="true"/> if the effect is attached to the element, <see langword="false"/> otherwise.</remarks>
bool EffectIsAttached(string name);
/// <summary>For internal use by .NET MAUI.</summary>
void SetValueFromRenderer(BindableProperty property, object value);
/// <summary>For internal use by .NET MAUI.</summary>
void SetValueFromRenderer(BindablePropertyKey propertyKey, object value);
/// <summary>For internal use by .NET MAUI.</summary>
/// <remarks>Gets a readonly list of the element's logical children.</remarks>
IReadOnlyList<Element> LogicalChildren { get; }
/// <summary>For internal use by .NET MAUI.</summary>
Element RealParent { get; }
/// <summary>For internal use by .NET MAUI.</summary>
/// <remarks>Gets a collection of the element's descendants.</remarks>
IEnumerable<Element> Descendants();
}
}