Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How do you select nodes where the NodeTypeAlias ends with Page?
I'm looking for something like this
var items = node.Children.Where("Visible").Where(NodeTypeAlias.EndsWith("Page"))
Hi.
var items = node.Children.Where("Visible && NodeTypeAlias.EndsWith(\"Page\")");
or you can use parameterised syntax when it's more suitable:
var items = Model.Children.Where("Visible && NodeTypeAlias.EndsWith(@0)", "Page");
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Select where NodeTypeAlias ends with "Page"
How do you select nodes where the NodeTypeAlias ends with Page?
I'm looking for something like this
Hi.
or you can use parameterised syntax when it's more suitable:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.