protected void OnQueryItemVisibility(QueryItemVisibilityEventArgs e) { EventHandler <QueryItemVisibilityEventArgs> handler = QueryItemVisibility; if (handler != null) { handler(this, e); } }