You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Map Class > Map Properties > ForceCategory
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Map.ForceCategory Property

When set to true, this property causes the map to only show content associated with the taxonomy category defined in the MapCategory property. When set to false, the map shows all content within the maps boundaries.  

For example, if you have five content blocks that appear on a map and three of them are associated with a taxonomy, set this property to true and the MapCategory property to the ID of the taxonomy. When a user views the map, it will only display the three content items associated with the taxonomy.

C#
[Bindable(true), Category("Ektron"), DefaultValue(false)]
[Description("It will force the category filter to MapCategory being applied on startup and on clearall.")]
public bool ForceCategory;
Visual Basic
<Bindable(true), Category("Ektron"), DefaultValue(false)>
<Description("It will force the category filter to MapCategory being applied on startup and on clearall.")>
Public Property ForceCategory() As bool
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!