.. _Content Filters:

Content Filters
===============

.. rst-class:: lead

   Apply Content Filters to remove irrelevant information displayed in views. 
   See :ref:`Content Filters Examples` for a list of use cases and examples.

.. |ico1| image:: ../../images/icons/act16/gui_filters_mini.png
   :class: inline

Toggle the content filtering functionality (on/off) with this toolbar button: |ico1|.

All views have a special |ico1| indication that is:

-  *enabled* if some content has been filtered
-  *disabled* if no content has been filtered or content filters off

For example in Types View: 

.. figure:: ../../images/common/content-filters-matched.png

By default, elements from the UVM, OVM and VMM libraries are filtered. See :ref:`Predefined Content Filters` for details.

You can define custom Content Filters in the **.dvt/content_filters.xml** file. To quickly create **.dvt/content_filters.xml** with some example filters, right click on the project and go to :menuselection:`New --> Example...` then :menuselection:`DVT Examples --> DVT Content Filters XML`. 

.. seealso::
   
   :ref:`Content Filters XML syntax`.

.. toctree::

   content-filters-xml-syntax.rst
   filtering-by-element-type.rst
   content-filters-examples.rst
   predefined-content-filters.rst
