SIL.FieldWorks.Common.Controls.XMLViewsDataCache.get_IntProp C# (CSharp) Method

get_IntProp() public method

Override to support fake integer properties.
public get_IntProp ( int hvo, int tag ) : int
hvo int
tag int
return int
		public override int get_IntProp(int hvo, int tag)
		{
			switch (tag)
			{
				default:
					return base.get_IntProp(hvo, tag);
				case ktagActiveColumn: // Fall through
				case ktagItemEnabled: // Fall through
					int result;
					if (m_integerCache.TryGetValue(new HvoFlidKey(hvo,  tag), out result))
						return result;
					return 0;
				case ktagItemSelected:
					return GetItemSelectedValue(hvo);
			}
		}