Show / Hide Table of Contents

Class ControlExtension

Inheritance
System.Object
ControlExtension
Namespace: Content.Client.UserInterface.ControlExtensions
Assembly: Content.Client.dll
Syntax
public static class ControlExtension : object

Methods

| Improve this Doc View Source

ChildrenContainText(Control, String)

Declaration
public static bool ChildrenContainText(this Control parent, string search)
Parameters
Type Name Description
Robust.Client.UserInterface.Control parent
System.String search
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetControlOfType<T>(Control)

Declaration
public static List<T> GetControlOfType<T>(this Control parent)
    where T : Control
Parameters
Type Name Description
Robust.Client.UserInterface.Control parent
Returns
Type Description
List<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

GetControlOfType<T>(Control, Boolean)

Declaration
public static List<T> GetControlOfType<T>(this Control parent, bool fullTreeSearch)
    where T : Control
Parameters
Type Name Description
Robust.Client.UserInterface.Control parent
System.Boolean fullTreeSearch
Returns
Type Description
List<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

GetControlOfType<T>(Control, String)

Declaration
public static List<T> GetControlOfType<T>(this Control parent, string childType)
    where T : Control
Parameters
Type Name Description
Robust.Client.UserInterface.Control parent
System.String childType
Returns
Type Description
List<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

GetControlOfType<T>(Control, String, Boolean)

Declaration
public static List<T> GetControlOfType<T>(this Control parent, string childType, bool fullTreeSearch)
    where T : Control
Parameters
Type Name Description
Robust.Client.UserInterface.Control parent
System.String childType
System.Boolean fullTreeSearch
Returns
Type Description
List<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

GetSearchableControls(Control, Boolean)

Declaration
public static List<ISearchableControl> GetSearchableControls(this Control parent, bool fullTreeSearch = false)
Parameters
Type Name Description
Robust.Client.UserInterface.Control parent
System.Boolean fullTreeSearch
Returns
Type Description
List<ISearchableControl>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾