示例#1
0
 /// <summary>
 /// Raises the EditColorBreakClicked event handler,
 /// </summary>
 public void Raise_DynamicVisibilityClicked(object sender, DynamicVisibilityEventArgs e)
 {
     if (EditDynamicVisibilityClicked != null)
     {
         EditDynamicVisibilityClicked(sender, e);
     }
 }
示例#2
0
 /// <summary>
 /// Raises the shared LabelExtentsclicked
 /// </summary>
 public void Raise_LabelExtents(object sender, DynamicVisibilityEventArgs e)
 {
     if (LabelExtentsClicked != null)
     {
         LabelExtentsClicked(sender, e);
     }
 }
示例#3
0
        private void SetDynamicVisibility(object sender, EventArgs e)
        {
            UseDynamicVisibility   = true;
            DynamicVisibilityWidth = MapFrame.ViewExtents.Width;
            DynamicVisibilityEventArgs args = new DynamicVisibilityEventArgs(this);

            LayerEventSender.Instance.Raise_DynamicVisibilityClicked(this, args);
        }
示例#4
0
 private void SetDynamicVisibility(object sender, EventArgs e)
 {
     UseDynamicVisibility = true;
     DynamicVisibilityWidth = MapFrame.ViewExtents.Width;
     DynamicVisibilityEventArgs args = new DynamicVisibilityEventArgs(this);
     LayerEventSender.Instance.Raise_DynamicVisibilityClicked(this, args);
 }
 /// <summary>
 /// Raises the EditColorBreakClicked event handler,
 /// </summary>
 public void Raise_DynamicVisibilityClicked(object sender, DynamicVisibilityEventArgs e)
 {
     if (EditDynamicVisibilityClicked != null) EditDynamicVisibilityClicked(sender, e);
 }
 /// <summary>
 /// Raises the shared LabelExtentsclicked
 /// </summary>
 public void Raise_LabelExtents(object sender, DynamicVisibilityEventArgs e)
 {
     if (LabelExtentsClicked != null) LabelExtentsClicked(sender, e);
 }
示例#7
0
        /// <summary>
        /// The label extents click.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private void LabelExtentsClick(object sender, EventArgs e)
        {
            if (_labelLayer == null)
                return;

            var args = new DynamicVisibilityEventArgs(_labelLayer);
            args.Item.DynamicVisibilityWidth = _labelLayer.FeatureLayer.MapFrame.ViewExtents.Width;
            FeatureLayerEventSender.Instance.Raise_LabelExtents(this, args);
        }