/// <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); } }
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); }
/// <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); }