CustomAccessRule.CheckUri Event
In This Article
Occurs when URI accessibility is checked.
Namespace: DevExpress.Security.Resources
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Remarks
Handle this event to implement a custom logic that determines whether the requested URI is accessible.
CustomAccessRule customRule = new CustomAccessRule(AccessPermission.Allow);
customRule.CheckUri += uri => {
// implement your logic here
return true;
};
AccessSettings.StaticResources.SetRules(customRule);
See Also