TreeList - Difference between TreeList.GetState() and TreeList.State

1 Answer 107 Views
TreeList
Ted
Top achievements
Rank 1
Iron
Iron
Ted asked on 10 Jun 2022, 08:59 PM

Hi,

I'm trying to understand if there is any difference between using TreeList.GetState() and TreeList.State? I want to examine the state of the tree list in the most efficient manner possible, and TreeList.State seems like the obvious choice, but the docs all use the GetState() method.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 15 Jun 2022, 08:52 AM

Hi Ted,

TreeList.State is for internal use only. Always use GetState().

Some of our API members are public, although they should not be used by developers. For example, this includes JsInvokable C# methods and API members that are related to some specific interfaces.

If you don't see an API member in our documentation, examples and API reference, it may be for internal use.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TreeList
Asked by
Ted
Top achievements
Rank 1
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or